pkgsrc-wip/openbgpd-as4byte/patches/patch-am
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

19 lines
390 B
Text

--- bgpd/rde_update.c.orig 2007-01-11 13:58:49.000000000 +1000
+++ bgpd/rde_update.c 2007-01-11 14:00:27.000000000 +1000
@@ -882,7 +882,7 @@
/* total length includes the two 2-bytes length fields. */
*len = attrlen + 2 * sizeof(u_int16_t);
- return (buf);
+ return ((char *)buf);
}
char *
@@ -973,6 +973,6 @@
peer->up_acnt--;
}
- return (buf);
+ return ((char *)buf);
}