vnet: On rx-mode set, return error for an actual error. 07/36807/1
authorWayne Morrison <wmorrison@netgate.com>
Fri, 5 Aug 2022 13:47:24 +0000 (09:47 -0400)
committerWayne Morrison <wmorrison@netgate.com>
Fri, 5 Aug 2022 14:54:44 +0000 (10:54 -0400)
commit389aae573fb4baba278c033cb019201e246942ab
treed78dd72a3f84d01f959aac0d2f3c4b783a78ac2f
parent09ef592a32ae37030cea616ea106da6c86cf106d
vnet: On rx-mode set, return error for an actual error.

In set_hw_interface_change_rx_mode(), when vnet_hw_if_set_rx_queue_mode()
returns an error it actually returns success.  This has been changed to
return a clib_error_return() value.

Type: fix
Change-Id: Iba39c875d9e15463cb6492d8a966234560a1f522
Signed-off-by: Wayne Morrison <wmorrison@netgate.com>
src/vnet/interface_cli.c