pkgsrc-wip/openbgpd-as4byte/patches/patch-ao
George Michaelson edb12a94da This is a modified import of the FreeBSD port of OpenBGPD.
This pkg includes modifications to implement 4byte (32bit) AS number extensions
to BGP.

the original FreeBSD port descr is appended below.

-george

OpenBGPD is a FREE implementation of the Border Gateway Protocol, Version 4.
It allows ordinary machines to be used as routers exchanging routes with
other systems speaking the BGP protocol.

WWW: http://www.openbgp.org/

- Florent Thoumie
flz@xbsd.org
2007-01-12 04:32:48 +00:00

11 lines
361 B
Text

--- bgpctl/strtonum.c.dist 2007-01-11 14:41:10.000000000 +1000
+++ bgpctl/strtonum.c 2007-01-11 14:40:29.000000000 +1000
@@ -25,6 +25,8 @@
#define TOOSMALL 2
#define TOOLARGE 3
+long long strtonum(const char *, long long, long long, const char **);
+
long long
strtonum(const char *numstr, long long minval, long long maxval,
const char **errstrp)