summaryrefslogtreecommitdiff
path: root/accel-pppd/libnetlink/libnetlink.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-04-04 14:17:25 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-04-04 14:17:25 +0300
commit581d4533cee479516132a089844b7fc6c32b59ae (patch)
treef1610e0c43c958fe53769c2d60254ae382bea4d5 /accel-pppd/libnetlink/libnetlink.c
parentb29c9326c2630a0375a9d92b0c553b6e60c8cdaa (diff)
downloadaccel-ppp-581d4533cee479516132a089844b7fc6c32b59ae.tar.gz
accel-ppp-581d4533cee479516132a089844b7fc6c32b59ae.zip
ipoe,pppoe,vlan_mon: deleted conditions to simultaneous start ipoe and pppoe on same interfaces (started by vlan_mon)
Diffstat (limited to 'accel-pppd/libnetlink/libnetlink.c')
-rw-r--r--accel-pppd/libnetlink/libnetlink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/libnetlink/libnetlink.c b/accel-pppd/libnetlink/libnetlink.c
index 0536783a..aca16aff 100644
--- a/accel-pppd/libnetlink/libnetlink.c
+++ b/accel-pppd/libnetlink/libnetlink.c
@@ -382,7 +382,8 @@ int __export rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,
memcpy(answer, h, h->nlmsg_len);
return 0;
}
- log_debug("libnetlink: ""RTNETLINK answers: %s\n", strerror(errno));
+ if (!ignore_einval)
+ log_debug("libnetlink: ""RTNETLINK answers: %s\n", strerror(errno));
}
return -1;
}