summaryrefslogtreecommitdiff
path: root/net/openbgpd/files/patch-bgpctl_irr_prefix.c
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2011-07-03 05:18:37 +0000
committerHiroki Sato <hrs@FreeBSD.org>2011-07-03 05:18:37 +0000
commitbfcc6c1858a99d44000e2aa81576ef3dfc5bb6d9 (patch)
treeca4dc5869b37fe5de06907a914dccc13ea23da09 /net/openbgpd/files/patch-bgpctl_irr_prefix.c
parent- Update to 0.91 (diff)
- Update to a 4.9 snapshot as of 2011.06.12.
- Use USERS and GROUPS.
Diffstat (limited to 'net/openbgpd/files/patch-bgpctl_irr_prefix.c')
-rw-r--r--net/openbgpd/files/patch-bgpctl_irr_prefix.c11
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) ==