Page MenuHomeFreeBSD

D19005.id53336.diff
No OneTemporary

D19005.id53336.diff

Index: head/sbin/ifconfig/ifpfsync.c
===================================================================
--- head/sbin/ifconfig/ifpfsync.c
+++ head/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 != htonl(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 != htonl(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 != htonl(INADDR_PFSYNC_GROUP)) {
printf("maxupd: %d ", preq.pfsyncr_maxupdates);
printf("defer: %s\n", preq.pfsyncr_defer ? "on" : "off");
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 8:49 PM (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14684213
Default Alt Text
D19005.id53336.diff (965 B)

Event Timeline