diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2010-02-16 19:27:03 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2010-02-16 19:27:03 +0000 |
commit | 7ab9a19af615666cef45e1b4538c8460d19e1ec0 (patch) | |
tree | 301a68c22691daf3b616754a383cd1730c23dae7 /net/openbgpd/files/patch-bgpd_pftable.c | |
parent | Add updating instructions for sysutils/bacula-{server,client}. (diff) |
Update to 4.6.20100215.
Feature safe: yes
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_pftable.c')
-rw-r--r-- | net/openbgpd/files/patch-bgpd_pftable.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/openbgpd/files/patch-bgpd_pftable.c b/net/openbgpd/files/patch-bgpd_pftable.c new file mode 100644 index 000000000000..a9f2092dd156 --- /dev/null +++ b/net/openbgpd/files/patch-bgpd_pftable.c @@ -0,0 +1,23 @@ +Index: bgpd/pftable.c +=================================================================== +RCS file: /home/cvs/private/hrs/openbgpd/bgpd/pftable.c,v +retrieving revision 1.1.1.5 +retrieving revision 1.1.1.6 +diff -u -p -r1.1.1.5 -r1.1.1.6 +--- bgpd/pftable.c 14 Feb 2010 20:19:57 -0000 1.1.1.5 ++++ bgpd/pftable.c 14 Feb 2010 20:27:06 -0000 1.1.1.6 +@@ -1,4 +1,4 @@ +-/* $OpenBSD: pftable.c,v 1.5 2005/07/01 09:19:24 claudio Exp $ */ ++/* $OpenBSD: pftable.c,v 1.6 2009/12/01 14:28:05 claudio Exp $ */ + + /* + * Copyright (c) 2004 Damien Miller <djm@openbsd.org> +@@ -214,7 +214,7 @@ pftable_add_work(const char *table, stru + + bzero(pfa, sizeof(*pfa)); + memcpy(&pfa->pfra_u, &addr->ba, (len + 7U) / 8); +- pfa->pfra_af = addr->af; ++ pfa->pfra_af = aid2af(addr->aid); + pfa->pfra_net = len; + + pft->naddrs++; |