diff options
author | root <you@example.com> | 2016-11-13 23:03:11 +0000 |
---|---|---|
committer | root <you@example.com> | 2016-11-13 23:03:11 +0000 |
commit | fcce9002f6b324a1347bdf4e72a9c78ce6d7854f (patch) | |
tree | 476712e38a542abb56d97b05e9691b9a19ef5e6e /accel-pppd/ctrl/pppoe | |
parent | e33a2b9c3fdfd7e89e1daa8c4407bec9dc02dc17 (diff) | |
download | accel-ppp-fcce9002f6b324a1347bdf4e72a9c78ce6d7854f.tar.gz accel-ppp-fcce9002f6b324a1347bdf4e72a9c78ce6d7854f.zip |
Bugfix for sending service name tags
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r-- | accel-pppd/ctrl/pppoe/pppoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c index a93e315e..1d836f54 100644 --- a/accel-pppd/ctrl/pppoe/pppoe.c +++ b/accel-pppd/ctrl/pppoe/pppoe.c @@ -762,7 +762,7 @@ static void pppoe_send_PADO(struct pppoe_serv_t *serv, const uint8_t *addr, cons if (conf_service_name[0]) { int i = 0; do { - add_tag(pack, TAG_SERVICE_NAME, (uint8_t *)conf_service_name, strlen(conf_service_name[i])); + add_tag(pack, TAG_SERVICE_NAME, (uint8_t *)conf_service_name[i], strlen(conf_service_name[i])); i++; } while(conf_service_name[i]); } |