summaryrefslogtreecommitdiff
path: root/net/zebra/patches/patch-bc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 21:19:46 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 21:19:46 +0000
commit8515688e4fc1e61508e192542688b3ff53ea4ca8 (patch)
treed2d4ad86fb660f5fc1d74e8ef4b3232c9aad1046 /net/zebra/patches/patch-bc
parent3612c287b035cd52b87361b84833d892629cf955 (diff)
downloadpkgsrc-buildlink2.tar.gz
Merge changes in the main trunk into the buildlink2 branch for thosebuildlink2
packages that have been converted to USE_BUILDLINK2.
Diffstat (limited to 'net/zebra/patches/patch-bc')
-rw-r--r--net/zebra/patches/patch-bc12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/zebra/patches/patch-bc b/net/zebra/patches/patch-bc
new file mode 100644
index 00000000000..a73b82ffda1
--- /dev/null
+++ b/net/zebra/patches/patch-bc
@@ -0,0 +1,12 @@
+$NetBSD: patch-bc,v 1.1.2.2 2002/08/25 21:20:48 jlam Exp $
+
+diff -u1 bgpd/bgp_packet.c /home/itojun/work/zebra/zebra/bgpd/bgp_packet.c
+--- bgpd/bgp_packet.c Sat Jun 29 15:20:39 2002
++++ /home/itojun/work/zebra/zebra/bgpd/bgp_packet.c Sat Aug 3 21:05:49 2002
+@@ -758,3 +758,5 @@
+ /* Set capability code. */
+- bgp_open_capability (s, peer);
++ if (CHECK_FLAG (peer->sflags, PEER_STATUS_CAPABILITY_OPEN) &&
++ ! CHECK_FLAG (peer->flags, PEER_FLAG_DONT_CAPABILITY))
++ bgp_open_capability (s, peer);
+