summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2019-03-08 15:40:11 +0300
committerDmitry Kozlov <xeb@mail.ru>2019-03-08 15:40:11 +0300
commit1f835bb6bb54cf186e549d58318090b988b6b93a (patch)
tree4e367f9a9db7178f6ccb10fe0060f5bd88f9a72e /accel-pppd/ctrl/pppoe
parent965380a641575d545087f456f3d45e73cae06417 (diff)
downloadaccel-ppp-1f835bb6bb54cf186e549d58318090b988b6b93a.tar.gz
accel-ppp-1f835bb6bb54cf186e549d58318090b988b6b93a.zip
initialize ssl_halen = ETH_ALEN in sockaddr_ll structures
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r--accel-pppd/ctrl/pppoe/pppoe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c
index 7ab20e3..12b5400 100644
--- a/accel-pppd/ctrl/pppoe/pppoe.c
+++ b/accel-pppd/ctrl/pppoe/pppoe.c
@@ -748,6 +748,7 @@ static void pppoe_send(struct pppoe_serv_t *serv, const uint8_t *pack)
.sll_family = AF_PACKET,
.sll_protocol = htons(ETH_P_PPP_DISC),
.sll_ifindex = serv->ifindex,
+ .sll_halen = ETH_ALEN,
};
struct pppoe_hdr *hdr = (struct pppoe_hdr *)(pack + ETH_HLEN);