summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-11-28 14:40:30 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-11-28 14:41:34 +0300
commit0a910ec3a70bff46aa5db9ef32f1a69f21e9f999 (patch)
treedda264801cc20cb419aee70a64aeebf47412af03 /accel-pppd
parent406f825a168f2155880392e5fb5aaf8f1ebc6851 (diff)
downloadaccel-ppp-0a910ec3a70bff46aa5db9ef32f1a69f21e9f999.tar.gz
accel-ppp-0a910ec3a70bff46aa5db9ef32f1a69f21e9f999.zip
ipoe: fixed typo (incorrect assignment)
Diffstat (limited to 'accel-pppd')
-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 02956afe..d237df8b 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -808,7 +808,7 @@ static void __ipoe_session_start(struct ipoe_session *ses)
ses->router = ses->serv->opt_src;
if (!ses->router)
- ses->siaddr = iproute_get(ses->yiaddr, NULL);
+ ses->router = iproute_get(ses->yiaddr, NULL);
if (!ses->router) {
log_ppp_error("can't determine router address\n");