summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2013-09-16 22:34:21 +0400
committerDmitry Kozlov <xeb@mail.ru>2013-09-16 22:34:21 +0400
commitebd85d82895ad2b8d711660d5e0f850bbbc361d5 (patch)
treeb3fc3bbb6347dc0425bf1f2e9a24fcb1366ab21a /accel-pppd/ctrl
parentb0d66211d8e700549f2a477d4499568a99eff331 (diff)
downloadaccel-ppp-ebd85d82895ad2b8d711660d5e0f850bbbc361d5.tar.gz
accel-ppp-ebd85d82895ad2b8d711660d5e0f850bbbc361d5.zip
ipoe: use proper address for L4-redirect
Diffstat (limited to 'accel-pppd/ctrl')
-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 425ede1..9792152 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -414,7 +414,7 @@ static void ipoe_change_l4_redirect(struct ipoe_session *ses, int del)
in_addr_t addr;
if (ses->ses.ipv4)
- addr = ses->ses.ipv4->addr;
+ addr = ses->ses.ipv4->peer_addr;
else
addr = ses->yiaddr;