summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/ipoe.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2015-04-20 14:08:45 +0300
committerDmitry Kozlov <xeb@mail.ru>2015-04-20 14:08:45 +0300
commitb8b91d8b087312c91a9941dacd11a98692679ec8 (patch)
tree8932a68f23b4f6b4db23078d9d4879138dc51144 /accel-pppd/ctrl/ipoe/ipoe.c
parent25da2e7fe4d11f909bc738bee31a14de26bfc21c (diff)
downloadaccel-ppp-b8b91d8b087312c91a9941dacd11a98692679ec8.tar.gz
accel-ppp-b8b91d8b087312c91a9941dacd11a98692679ec8.zip
ipoe: changed behavior of agent-remote-id option
Before this patch if agent-remote-id is not specified in config it get default value "accel-pppd". Now if agent-remote-id is not specified then accel-ppp will not insert his Option 82 into relayed DHCP requests
Diffstat (limited to 'accel-pppd/ctrl/ipoe/ipoe.c')
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 0e596147..765996f7 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -3203,7 +3203,7 @@ static void load_config(void)
if (opt)
conf_agent_remote_id = opt;
else
- conf_agent_remote_id = "accel-pppd";
+ conf_agent_remote_id = NULL;
opt = conf_get_opt("ipoe", "ipv6");
if (opt)