ethernet-input: fix assert in l2 mode