X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/1a20ccb84089a46e7a9e73ade70c3cbce58bfadb..bf41bf2eac1673657c19ae6598d8e52cbbb7d20a:/l2tpns.c diff --git a/l2tpns.c b/l2tpns.c index 5fad2df..dca810f 100644 --- 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);