svn commit: r245654 - user/ae/inet6/sys/netinet6
Andrey V. Elsukov
ae at FreeBSD.org
Sat Jan 19 04:46:19 UTC 2013
Author: ae
Date: Sat Jan 19 04:46:18 2013
New Revision: 245654
URL: http://svnweb.freebsd.org/changeset/base/245654
Log:
Mark SIOC*SCOPE6* ioctls as unsupported.
Modified:
user/ae/inet6/sys/netinet6/in6.c
Modified: user/ae/inet6/sys/netinet6/in6.c
==============================================================================
--- user/ae/inet6/sys/netinet6/in6.c Sat Jan 19 04:34:33 2013 (r245653)
+++ user/ae/inet6/sys/netinet6/in6.c Sat Jan 19 04:46:18 2013 (r245654)
@@ -359,19 +359,9 @@ in6_control(struct socket *so, u_long cm
switch (cmd) {
case SIOCSSCOPE6:
- if (td != NULL) {
- error = priv_check(td, PRIV_NETINET_SCOPE6);
- if (error)
- return (error);
- }
- return (scope6_set(ifp,
- (struct scope6_id *)ifr->ifr_ifru.ifru_scope_id));
case SIOCGSCOPE6:
- return (scope6_get(ifp,
- (struct scope6_id *)ifr->ifr_ifru.ifru_scope_id));
case SIOCGSCOPE6DEF:
- return (scope6_get_default((struct scope6_id *)
- ifr->ifr_ifru.ifru_scope_id));
+ return (EOPNOTSUPP);
}
switch (cmd) {
More information about the svn-src-user
mailing list