diff options
| author | Hiroki Sato <hrs@FreeBSD.org> | 2013-07-09 07:59:47 +0000 |
|---|---|---|
| committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-07-09 07:59:47 +0000 |
| commit | fd331c857eb9bcd72ab7ab53cd7abe62ebd215fb (patch) | |
| tree | 501b74c9fc1bb676ae336b09fe42d152ad65dbe2 /sbin | |
| parent | e44a02d53db2cbff262cde6c7b187e44c8ba8871 (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/ifconfig/af_nd6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ifconfig/af_nd6.c b/sbin/ifconfig/af_nd6.c index b5076385084d7..b3db0a8204ede 100644 --- a/sbin/ifconfig/af_nd6.c +++ b/sbin/ifconfig/af_nd6.c @@ -148,7 +148,7 @@ nd6_status(int s) memset(&nd, 0, sizeof(nd)); strncpy(nd.ifname, ifr.ifr_name, sizeof(nd.ifname)); if ((s6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { - if (errno != EPROTONOSUPPORT) + if (errno != EAFNOSUPPORT && errno != EPROTONOSUPPORT) warn("socket(AF_INET6, SOCK_DGRAM)"); return; } |
