No network interface will throws a NullPointException

Signed-off-by: dingxin <dingxin.git@gmail.com>