diff options
author | hrs <hrs@FreeBSD.org> | 2013-09-02 20:44:19 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2013-09-02 20:44:19 +0000 |
commit | 279128805f4ad3b0566262e40f031f221d543064 (patch) | |
tree | a6efc13b32dd4b3d0977a9dc83e2fd3398a95756 /usr.sbin/rtadvd | |
parent | b4cbe1bfc4320320e6983f434cac3fc05a15a4a2 (diff) | |
download | FreeBSD-src-279128805f4ad3b0566262e40f031f221d543064.zip FreeBSD-src-279128805f4ad3b0566262e40f031f221d543064.tar.gz |
Ignore if the interface is not IPv6-capable.
Spotted by: rpaulo
Diffstat (limited to 'usr.sbin/rtadvd')
-rw-r--r-- | usr.sbin/rtadvd/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rtadvd/if.c b/usr.sbin/rtadvd/if.c index b857356..5413cdf 100644 --- a/usr.sbin/rtadvd/if.c +++ b/usr.sbin/rtadvd/if.c @@ -394,8 +394,8 @@ update_ifinfo_nd_flags(struct ifinfo *ifi) error = ioctl(s, SIOCGIFINFO_IN6, (caddr_t)&nd); if (error) { close(s); - syslog(LOG_ERR, - "<%s> ioctl() failed.", __func__); + if (errno != EPFNOSUPPORT) + syslog(LOG_ERR, "<%s> ioctl() failed.", __func__); return (1); } ifi->ifi_nd_flags = nd.ndi.flags; |