1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

For IPv6, return the same error code as IPv4 when mrouter is not initialized.

PR:		178472
Submitted by:	Sven-Thorsten Dietrich <sven at vyatta.com>
Reviewed by:	bms
This commit is contained in:
Christian Brueffer 2014-02-10 14:36:51 +00:00
parent 9dffa6a3f3
commit 1b55364ed9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261709

View File

@ -361,7 +361,7 @@ X_ip6_mrouter_set(struct socket *so, struct sockopt *sopt)
mifi_t mifi;
if (so != V_ip6_mrouter && sopt->sopt_name != MRT6_INIT)
return (EACCES);
return (EPERM);
switch (sopt->sopt_name) {
case MRT6_INIT: