projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a20ccb
)
Log the session # when adding IPv6 routes.
author
Benjamin Cama
<benoar@dolka.fr>
Mon, 19 Sep 2011 15:25:18 +0000
(17:25 +0200)
committer
Benjamin Cama
<benoar@dolka.fr>
Mon, 19 Sep 2011 15:25:18 +0000
(17:25 +0200)
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
l2tpns.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
5fad2df
..
dca810f
100644
(file)
--- a/
l2tpns.c
+++ b/
l2tpns.c
@@
-544,7
+544,7
@@
void route6set(sessionidt s, struct in6_addr ip, int prefixlen, int add)
metric = 1;
netlink_addattr(&req.nh, RTA_METRICS, &metric, sizeof(metric));
- LOG(1,
0
, 0, "Route %s %s/%d\n",
+ LOG(1,
s
, 0, "Route %s %s/%d\n",
add ? "add" : "del",
inet_ntop(AF_INET6, &ip, ipv6addr, INET6_ADDRSTRLEN),
prefixlen);