summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe/pppoe.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-04-05 11:12:44 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-04-05 11:12:44 +0300
commit101ae68a9fbe5f0a3d3426ff1a9fb0f763596cc7 (patch)
treeab62ab2edbf98f3a98989cacebeb878672d86cef /accel-pppd/ctrl/pppoe/pppoe.c
parenta730a45b5a3325d62ff5cdb3a7782fc258331033 (diff)
downloadaccel-ppp-101ae68a9fbe5f0a3d3426ff1a9fb0f763596cc7.tar.gz
accel-ppp-101ae68a9fbe5f0a3d3426ff1a9fb0f763596cc7.zip
improved logging: if session's interface is empty log ctrl's interface
Diffstat (limited to 'accel-pppd/ctrl/pppoe/pppoe.c')
-rw-r--r--accel-pppd/ctrl/pppoe/pppoe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c
index 87c5b06b..a4d1ca92 100644
--- a/accel-pppd/ctrl/pppoe/pppoe.c
+++ b/accel-pppd/ctrl/pppoe/pppoe.c
@@ -344,6 +344,7 @@ static struct pppoe_conn_t *allocate_channel(struct pppoe_serv_t *serv, const ui
conn->ctrl.type = CTRL_TYPE_PPPOE;
conn->ctrl.ppp = 1;
conn->ctrl.name = "pppoe";
+ conn->ctrl.ifname = serv->ifname;
conn->ctrl.mppe = conf_mppe;
if (ppp_max_payload > ETH_DATA_LEN - 8)