pppoe: fix VLIB_RX into the pppoe-input node 61/30261/5
authorStanislav Zaikin <zstaseg@gmail.com>
Thu, 3 Dec 2020 19:09:53 +0000 (19:09 +0000)
committerDamjan Marion <dmarion@me.com>
Fri, 11 Dec 2020 23:31:49 +0000 (23:31 +0000)
commit938af5e2710a789da2e7a5eb26ecdedcb68c508e
treee30ce54da823ae701a02577403e25f2c1ca198ad
parentb801cd1b31e44e9e90f4619db0cad4ab661019e5
pppoe: fix VLIB_RX into the pppoe-input node

Previously, RX interface for PPPoE packets was set as the original interface.
Now it is set as corresponding PPPoE interface in the "pppoe-input" node.

We need to do it because otherwise IP or other settings won't be working onto the PPPoE interface (only on original rx interface).

Type: fix

Signed-off-by: Stanislav Zaikin <zstaseg@gmail.com>
Change-Id: If9cc37608aa5fe685b8278dd99b819b7eddc6c38
src/plugins/pppoe/pppoe_decap.c
src/plugins/pppoe/test/test_pppoe.py
src/plugins/pppoe/test/vpp_pppoe_interface.py