summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r--sys/net/pf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index a22928d9cf4..606305fac98 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.686 2010/01/14 01:06:14 henning Exp $ */
+/* $OpenBSD: pf.c,v 1.687 2010/01/14 01:19:46 mcbride Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -1431,6 +1431,8 @@ pf_print_state_parts(struct pf_state *s,
printf("]");
}
printf(" %u:%u", s->src.state, s->dst.state);
+ if (s->rule.ptr)
+ printf(" @%d", s->rule.ptr->nr);
}
}