ethernet: fix coverity 218549 98/36998/4
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 23 Aug 2022 15:38:05 +0000 (15:38 +0000)
committerMatthew Smith <mgsmith@netgate.com>
Mon, 29 Aug 2022 21:20:58 +0000 (21:20 +0000)
commitb46a4e69e5db18ef792415439d04a0ab22c59386
tree160750b6edfd70c89bfa295fbcc68ec618318794
parentf4f1b959c070ce462846d5666d60dc5624dd271b
ethernet: fix coverity 218549

Check that the pointer is non-null before dereferencing it.

Type: fix
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Change-Id: I611a1042d08bbe455dd09a4fa5711fe86c440240
src/vnet/ethernet/node.c