summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2009-11-09 09:54:16 +0000
committerdlg <dlg@openbsd.org>2009-11-09 09:54:16 +0000
commit7bdc88c7504b4b604a1a33e924e1df904c02ef57 (patch)
tree0820f7a88647c797ee1604d4c2bbeed06e91009b
parentmbrlen returns size_t not int. (diff)
downloadwireguard-openbsd-7bdc88c7504b4b604a1a33e924e1df904c02ef57.tar.xz
wireguard-openbsd-7bdc88c7504b4b604a1a33e924e1df904c02ef57.zip
the new protocol moved insert and update.
-rw-r--r--usr.sbin/tcpdump/print-pfsync.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/tcpdump/print-pfsync.c b/usr.sbin/tcpdump/print-pfsync.c
index 79f9cf151df..418292018e0 100644
--- a/usr.sbin/tcpdump/print-pfsync.c
+++ b/usr.sbin/tcpdump/print-pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-pfsync.c,v 1.36 2009/10/27 23:59:55 deraadt Exp $ */
+/* $OpenBSD: print-pfsync.c,v 1.37 2009/11/09 09:54:16 dlg Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -121,9 +121,9 @@ int pfsync_print_eof(int, const void *);
struct pfsync_actions actions[] = {
{ sizeof(struct pfsync_clr), pfsync_print_clr },
- { sizeof(struct pfsync_state), pfsync_print_state },
+ { 0, NULL },
{ sizeof(struct pfsync_ins_ack), pfsync_print_ins_ack },
- { sizeof(struct pfsync_state), pfsync_print_state },
+ { 0, NULL },
{ sizeof(struct pfsync_upd_c), pfsync_print_upd_c },
{ sizeof(struct pfsync_upd_req), pfsync_print_upd_req },
{ sizeof(struct pfsync_state), pfsync_print_state },
@@ -132,7 +132,9 @@ struct pfsync_actions actions[] = {
{ 0, NULL },
{ sizeof(struct pfsync_bus), pfsync_print_bus },
{ sizeof(struct pfsync_tdb), pfsync_print_tdb },
- { 0, pfsync_print_eof }
+ { 0, pfsync_print_eof },
+ { sizeof(struct pfsync_state), pfsync_print_state },
+ { sizeof(struct pfsync_state), pfsync_print_state }
};
void