diff options
Diffstat (limited to 'net/openbgpd/files/patch-bgpctl_irr_prefix.c')
-rw-r--r-- | net/openbgpd/files/patch-bgpctl_irr_prefix.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net/openbgpd/files/patch-bgpctl_irr_prefix.c b/net/openbgpd/files/patch-bgpctl_irr_prefix.c index 2d1d5217c4cc..da541297f183 100644 --- a/net/openbgpd/files/patch-bgpctl_irr_prefix.c +++ b/net/openbgpd/files/patch-bgpctl_irr_prefix.c @@ -2,13 +2,13 @@ Index: bgpctl/irr_prefix.c =================================================================== RCS file: /home/cvs/private/hrs/openbgpd/bgpctl/irr_prefix.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 +retrieving revision 1.1.1.7 +diff -u -p -r1.1.1.5 -r1.1.1.7 --- bgpctl/irr_prefix.c 14 Feb 2010 20:20:14 -0000 1.1.1.5 -+++ bgpctl/irr_prefix.c 14 Feb 2010 20:27:21 -0000 1.1.1.6 ++++ bgpctl/irr_prefix.c 12 Jun 2011 10:44:54 -0000 1.1.1.7 @@ -1,4 +1,4 @@ -/* $OpenBSD: irr_prefix.c,v 1.15 2007/05/27 18:54:25 henning Exp $ */ -+/* $OpenBSD: irr_prefix.c,v 1.17 2009/09/08 16:11:36 sthen Exp $ */ ++/* $OpenBSD: irr_prefix.c,v 1.18 2010/05/10 02:00:50 krw Exp $ */ /* * Copyright (c) 2007 Henning Brauer <henning@openbsd.org> @@ -112,7 +112,8 @@ diff -u -p -r1.1.1.5 -r1.1.1.6 + return (1); + } - /* see wether we can fold them in one */ +- /* see wether we can fold them in one */ ++ /* see whether we can fold them in one */ if (a->len == b->len && a->len > 1) { - mask = htonl(0xffffffff << (32 - (a->len - 1))); - if ((a->addr.in.s_addr & mask) == |