diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2021-04-30 11:52:25 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2021-04-30 11:53:47 +0300 |
commit | b1ca6157c6fcd93966e115f113a032a42f77843d (patch) | |
tree | cabe1d34471cb3b1ae8dd538c9f7451293517833 /accel-pppd/ctrl/ipoe/dhcpv4.h | |
parent | a77f9e071f084918bbb805c2509aec0f47fcf95b (diff) | |
download | accel-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.h | 1 |
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]; |