Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133141874
D19005.id53316.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
950 B
Referenced Files
None
Subscribers
None
D19005.id53316.diff
View Options
Index: sbin/ifconfig/ifpfsync.c
===================================================================
--- sbin/ifconfig/ifpfsync.c
+++ sbin/ifconfig/ifpfsync.c
@@ -195,16 +195,16 @@
return;
if (preq.pfsyncr_syncdev[0] != '\0' ||
- preq.pfsyncr_syncpeer.s_addr != INADDR_PFSYNC_GROUP)
+ preq.pfsyncr_syncpeer.s_addr != ntohl(INADDR_PFSYNC_GROUP))
printf("\t");
if (preq.pfsyncr_syncdev[0] != '\0')
printf("pfsync: syncdev: %s ", preq.pfsyncr_syncdev);
- if (preq.pfsyncr_syncpeer.s_addr != INADDR_PFSYNC_GROUP)
+ if (preq.pfsyncr_syncpeer.s_addr != ntohl(INADDR_PFSYNC_GROUP))
printf("syncpeer: %s ", inet_ntoa(preq.pfsyncr_syncpeer));
if (preq.pfsyncr_syncdev[0] != '\0' ||
- preq.pfsyncr_syncpeer.s_addr != INADDR_PFSYNC_GROUP) {
+ preq.pfsyncr_syncpeer.s_addr != ntohl(INADDR_PFSYNC_GROUP)) {
printf("maxupd: %d ", preq.pfsyncr_maxupdates);
printf("defer: %s\n", preq.pfsyncr_defer ? "on" : "off");
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 24, 8:24 AM (18 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24125626
Default Alt Text
D19005.id53316.diff (950 B)
Attached To
Mode
D19005: ifconfig: fix endianness bug displaying pfsync interfaces
Attached
Detach File
Event Timeline
Log In to Comment