summaryrefslogtreecommitdiff
path: root/sys/net/if_pfsync.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_pfsync.h')
-rw-r--r--sys/net/if_pfsync.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_pfsync.h b/sys/net/if_pfsync.h
index 108dc47a341..6a6e024a3d5 100644
--- a/sys/net/if_pfsync.h
+++ b/sys/net/if_pfsync.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.h,v 1.40 2009/11/09 23:46:38 dlg Exp $ */
+/* $OpenBSD: if_pfsync.h,v 1.41 2010/01/10 23:54:21 dlg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -114,7 +114,7 @@
struct pfsync_header {
u_int8_t version;
u_int8_t _pad;
- u_int16_t len;
+ u_int16_t len; /* in bytes */
u_int8_t pfcksum[PF_MD5_DIGEST_LENGTH];
} __packed;
@@ -124,7 +124,7 @@ struct pfsync_header {
struct pfsync_subheader {
u_int8_t action;
- u_int8_t _pad;
+ u_int8_t len; /* in dwords */
u_int16_t count;
} __packed;