devices: default mode eth in the api 49/34249/4
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>
Tue, 26 Oct 2021 14:11:38 +0000 (16:11 +0200)
committerBeno�t Ganne <bganne@cisco.com>
Fri, 29 Oct 2021 10:15:42 +0000 (10:15 +0000)
Type: fix

https://gerrit.fd.io/r/c/vpp/+/34027 added support
for l3 mode, but as the eth_mode constant was set
to 1 we did default to l3 mode in the api.

This reverts to the original logic.

Change-Id: If8b90b300d3868de5233dfa1f33ec975853cba11
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>

No differences found