X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/7c474381d4dcc23b9fb4d3a2401971a9ef79c889..refs/heads/use-netlink:/bgp.c?ds=inline diff --git a/bgp.c b/bgp.c index eca1518..c5abe7a 100644 --- a/bgp.c +++ b/bgp.c @@ -29,7 +29,6 @@ char const *cvs_id_bgp = "$Id: bgp.c,v 1.12 2005/09/02 23:39:36 bodea Exp $"; static void bgp_clear(struct bgp_peer *peer); static void bgp_set_retry(struct bgp_peer *peer); -static void bgp_cidr(in_addr_t ip, int prefixlen, struct bgp_ip_prefix *pfx); static struct bgp_route_list *bgp_insert_route(struct bgp_route_list *head, struct bgp_route_list *new); @@ -415,7 +414,7 @@ int bgp_del_route(in_addr_t ip, int prefixlen) struct bgp_route_list del; int i; - del.dest.ip = ip; + del.dest.prefix = ip; del.dest.len = prefixlen; del.next = 0;