Fix last commit on switching to CIDR.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
Benjamin Cama 2011-08-17 02:21:01 +02:00
parent 7c474381d4
commit 3190b01ada
2 changed files with 2 additions and 2 deletions

2
bgp.c
View file

@ -415,7 +415,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;