eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 2000a24ff68734d572bf32111d024dd2864e69c5
parent 6dc2706459d73e411e1c26138da88f6c85f4487e
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Tue, 16 Oct 2018 15:12:53 +0200

wired: Check that packets are either unicast or multicast

Diffstat:
Mwired/ethdev.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/wired/ethdev.c b/wired/ethdev.c @@ -266,6 +266,10 @@ static bool pae_read(struct l_io *io, void *user_data) if (ntohs(sll.sll_protocol) != ETH_P_PAE) return true; + if (sll.sll_pkttype != PACKET_HOST && + sll.sll_pkttype != PACKET_MULTICAST) + return true; + dev = ethdev_lookup(sll.sll_ifindex); if (!dev) return true;