Fix last commit on switching to CIDR.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
parent
7c474381d4
commit
3190b01ada
2 changed files with 2 additions and 2 deletions
2
bgp.c
2
bgp.c
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
2
radius.c
2
radius.c
|
|
@ -723,7 +723,7 @@ void processrad(uint8_t *buf, int len, char socket_index)
|
|||
else if (ip)
|
||||
{
|
||||
LOG(3, s, session[s].tunnel, " Radius reply contains route for %s/%d\n",
|
||||
fmtaddr(htonl(ip), 0), bits, 1));
|
||||
fmtaddr(htonl(ip), 0), bits);
|
||||
|
||||
session[s].route[routes].ip = ip;
|
||||
session[s].route[routes].prefixlen = bits;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue