summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-01-19 19:46:34 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-01-19 19:46:34 +0000
commit1029b2dbf36269504c4a6169ef1c3a55f8dfc587 (patch)
tree43b56b2bbda0f454174046e7552f07cf98a6c5bf /sys
parent3f6db2a8019422284622d6673e27132010da290e (diff)
Update comment; handling PFSYNC_ACT_UPD in pfsync_input() is no longer
optional.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_pfsync.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index 7eb229efc31..a71df647e86 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.15 2004/01/19 07:24:07 mcbride Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.16 2004/01/19 19:46:33 mcbride Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -331,11 +331,6 @@ pfsync_input(struct mbuf *m, ...)
}
splx(s);
break;
-
- /*
- * It's not strictly necessary for us to support the "uncompressed"
- * update and delete actions, but it's relatively simple for us to do.
- */
case PFSYNC_ACT_UPD:
if ((mp = m_pulldown(m, iplen + sizeof(*ph),
count * sizeof(*sp), &offp)) == NULL) {
@@ -367,6 +362,10 @@ pfsync_input(struct mbuf *m, ...)
}
splx(s);
break;
+ /*
+ * It's not strictly necessary for us to support the "uncompressed"
+ * delete action, but it's relatively simple and maintains consistency.
+ */
case PFSYNC_ACT_DEL:
if ((mp = m_pulldown(m, iplen + sizeof(*ph),
count * sizeof(*sp), &offp)) == NULL) {