projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7c47438
)
Fix last commit on switching to CIDR.
author
Benjamin Cama
<benoar@dolka.fr>
Wed, 17 Aug 2011 00:21:01 +0000
(
02:21
+0200)
committer
Benjamin Cama
<benoar@dolka.fr>
Wed, 17 Aug 2011 00:21:01 +0000
(
02:21
+0200)
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
bgp.c
patch
|
blob
|
history
radius.c
patch
|
blob
|
history
diff --git
a/bgp.c
b/bgp.c
index
eca1518
..
f1d0ec2
100644
(file)
--- a/
bgp.c
+++ b/
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;
diff --git
a/radius.c
b/radius.c
index
e337a75
..
4e67e63
100644
(file)
--- a/
radius.c
+++ b/
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;