X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/e6bf06aa1b0d74bf2d748dbff76192d11c328592..7c474381d4dcc23b9fb4d3a2401971a9ef79c889:/bgp.h?ds=inline diff --git a/bgp.h b/bgp.h index 0a2e59c..f8b52d6 100644 --- a/bgp.h +++ b/bgp.h @@ -193,8 +193,8 @@ int bgp_start(struct bgp_peer *peer, char *name, int as, int keepalive, void bgp_stop(struct bgp_peer *peer); void bgp_halt(struct bgp_peer *peer); int bgp_restart(struct bgp_peer *peer); -int bgp_add_route(in_addr_t ip, in_addr_t mask); -int bgp_del_route(in_addr_t ip, in_addr_t mask); +int bgp_add_route(in_addr_t ip, int prefixlen); +int bgp_del_route(in_addr_t ip, int prefixlen); void bgp_enable_routing(int enable); int bgp_set_poll(void); int bgp_process(uint32_t events[]);