diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-05-17 14:50:48 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-05-17 14:50:48 +0000 |
commit | d5c63050175a96e7f778d9820770df6ec4e2cba4 (patch) | |
tree | c802d9728a4edf039283b254b9d867af880d6d22 | |
parent | ab5e90fac93b1d59fb80962b7661d580eb739843 (diff) |
missing rtlabel support in pf_addr_wrap_neq()
PR5122 Jann Fischer <jfi@openbsd.de>, thanks!
-rw-r--r-- | sys/net/pf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c index 903c94af590..6fa88d6220a 100644 --- a/sys/net/pf.c +++ b/sys/net/pf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf.c,v 1.511 2006/03/14 11:09:42 djm Exp $ */ +/* $OpenBSD: pf.c,v 1.512 2006/05/17 14:50:47 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1308,6 +1308,8 @@ pf_addr_wrap_neq(struct pf_addr_wrap *aw1, struct pf_addr_wrap *aw2) return (0); case PF_ADDR_TABLE: return (aw1->p.tbl != aw2->p.tbl); + case PF_ADDR_RTLABEL: + return (aw1->v.rtlabel != aw2->v.rtlabel); default: printf("invalid address type: %d\n", aw1->type); return (1); |