summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
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 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;