fix core dump when using physical interface
If the physical link is not specified in the configuration
the check in if_nametoindex(netdev->link) leads to a segfault.
Check the link is specified.
Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
Reported-by:
Ferenc Wagner <wferi@niif.hu>
Showing
Please
register
or
sign in
to comment