Skip to content
Browse files

typo. rom brad at comstyle.com

  • Loading branch information...
1 parent 36ed2a8 commit 9c39a54e53a49d4917d840460e1ad9647182d272 itojun committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 kame/sys/net/pf.c
View
4 kame/sys/net/pf.c
@@ -5326,7 +5326,7 @@ pf_test(int dir, struct ifnet *ifp, struct mbuf **m0)
if (action == PF_PASS) {
r = s->rule.ptr;
r->packets++;
-#ifdef __OpeNBSD__
+#ifdef __OpenBSD__
r->bytes += ntohs(h->ip_len);
#else
r->bytes += h->ip_len;
@@ -5334,7 +5334,7 @@ pf_test(int dir, struct ifnet *ifp, struct mbuf **m0)
a = s->anchor.ptr;
if (a != NULL) {
a->packets++;
-#ifdef __OpeNBSD__
+#ifdef __OpenBSD__
a->bytes += ntohs(h->ip_len);
#else
a->bytes += h->ip_len;

0 comments on commit 9c39a54

Please sign in to comment.
Something went wrong with that request. Please try again.