Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168922437
D58672.id183465.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
982 B
Referenced Files
None
Subscribers
None
D58672.id183465.diff
View Options
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c
--- a/usr.sbin/rtadvd/rtadvd.c
+++ b/usr.sbin/rtadvd/rtadvd.c
@@ -1138,9 +1138,9 @@
syslog(LOG_NOTICE,
"M flag inconsistent on %s:"
" %s from %s, %s from us",
- ifi->ifi_ifname, on_off[!rai->rai_managedflg],
+ ifi->ifi_ifname, on_off[rai->rai_managedflg == 0],
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
- sizeof(ntopbuf)), on_off[rai->rai_managedflg]);
+ sizeof(ntopbuf)), on_off[rai->rai_managedflg != 0]);
inconsistent++;
}
/* O flag */
@@ -1149,9 +1149,9 @@
syslog(LOG_NOTICE,
"O flag inconsistent on %s:"
" %s from %s, %s from us",
- ifi->ifi_ifname, on_off[!rai->rai_otherflg],
+ ifi->ifi_ifname, on_off[rai->rai_otherflg == 0],
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
- sizeof(ntopbuf)), on_off[rai->rai_otherflg]);
+ sizeof(ntopbuf)), on_off[rai->rai_otherflg != 0]);
inconsistent++;
}
/* Reachable Time */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 31, 6:56 PM (3 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36121965
Default Alt Text
D58672.id183465.diff (982 B)
Attached To
Mode
D58672: rtadvd: Fix RA flag inconsistency messages
Attached
Detach File
Event Timeline
Log In to Comment