diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2015-09-17 18:21:58 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2015-09-17 18:21:58 +0000 |
commit | 5ef973a4b1a36b87cc601206f39858eacd7667f2 (patch) | |
tree | 8e72ad90035a55045b54c6a3718c8916da77811b /net | |
parent | 05360ec71eab4f178074bd97c1373e7659a59bbb (diff) | |
download | freebsd-ports-5ef973a4b1a36b87cc601206f39858eacd7667f2.zip |
- Merge fix for upstream bug 331
- Bump PORTREVISION
Submitted by: Victor Sudakov <sudakov@sibptus.tomsk.ru>
Diffstat (limited to 'net')
-rw-r--r-- | net/exabgp/Makefile | 1 | ||||
-rw-r--r-- | net/exabgp/files/patch-lib_exabgp_bgp_message_update_attribute_aspath.py | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/net/exabgp/Makefile b/net/exabgp/Makefile index 98754879dfa7..6dcb22511688 100644 --- a/net/exabgp/Makefile +++ b/net/exabgp/Makefile @@ -3,6 +3,7 @@ PORTNAME= exabgp PORTVERSION= 3.4.12 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GH \ http://mirrors.rit.edu/zi/ diff --git a/net/exabgp/files/patch-lib_exabgp_bgp_message_update_attribute_aspath.py b/net/exabgp/files/patch-lib_exabgp_bgp_message_update_attribute_aspath.py new file mode 100644 index 000000000000..151ccc5b7332 --- /dev/null +++ b/net/exabgp/files/patch-lib_exabgp_bgp_message_update_attribute_aspath.py @@ -0,0 +1,28 @@ +--- lib/exabgp/bgp/message/update/attribute/aspath.py.orig 2015-07-22 10:19:42 UTC ++++ lib/exabgp/bgp/message/update/attribute/aspath.py +@@ -140,7 +140,7 @@ class ASPath (Attribute): + return self._json[name] + + @classmethod +- def __new_aspaths (cls, data, asn4, klass=None): ++ def _new_aspaths (cls, data, asn4, klass=None): + as_set = [] + as_seq = [] + as_cset = [] +@@ -199,7 +199,7 @@ class ASPath (Attribute): + def unpack (cls, data, negotiated): + if not data: + return None # ASPath.Empty +- return cls.__new_aspaths(data,negotiated.asn4,ASPath) ++ return cls._new_aspaths(data,negotiated.asn4,ASPath) + + + ASPath.Empty = ASPath([],[]) +@@ -220,6 +220,6 @@ class AS4Path (ASPath): + def unpack (cls, data, negotiated): + if not data: + return None # AS4Path.Empty +- return cls.__new_aspaths(data,True,AS4Path) ++ return cls._new_aspaths(data,True,AS4Path) + + AS4Path.Empty = AS4Path([],[]) |