diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2013-09-16 22:34:21 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-09-16 22:34:21 +0400 |
commit | ebd85d82895ad2b8d711660d5e0f850bbbc361d5 (patch) | |
tree | b3fc3bbb6347dc0425bf1f2e9a24fcb1366ab21a /accel-pppd | |
parent | b0d66211d8e700549f2a477d4499568a99eff331 (diff) | |
download | accel-ppp-ebd85d82895ad2b8d711660d5e0f850bbbc361d5.tar.gz accel-ppp-ebd85d82895ad2b8d711660d5e0f850bbbc361d5.zip |
ipoe: use proper address for L4-redirect
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 2 |
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; |