summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/dhcpv4.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2021-04-30 11:52:25 +0300
committerDmitry Kozlov <xeb@mail.ru>2021-04-30 11:53:47 +0300
commitb1ca6157c6fcd93966e115f113a032a42f77843d (patch)
treecabe1d34471cb3b1ae8dd538c9f7451293517833 /accel-pppd/ctrl/ipoe/dhcpv4.h
parenta77f9e071f084918bbb805c2509aec0f47fcf95b (diff)
downloadaccel-ppp-b1ca6157c6fcd93966e115f113a032a42f77843d.tar.gz
accel-ppp-b1ca6157c6fcd93966e115f113a032a42f77843d.zip
ipoe: use destination address from IP header as server_id if not sent in dhcp request header
Diffstat (limited to 'accel-pppd/ctrl/ipoe/dhcpv4.h')
-rw-r--r--accel-pppd/ctrl/ipoe/dhcpv4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/dhcpv4.h b/accel-pppd/ctrl/ipoe/dhcpv4.h
index 81013671..8598b61d 100644
--- a/accel-pppd/ctrl/ipoe/dhcpv4.h
+++ b/accel-pppd/ctrl/ipoe/dhcpv4.h
@@ -69,6 +69,7 @@ struct dhcpv4_packet {
uint32_t server_id;
int msg_type;
in_addr_t src_addr;
+ in_addr_t dst_addr;
int volatile refs;
uint8_t *ptr;
uint8_t data[0];