diff options
-rw-r--r-- | src/detect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/detect.c b/src/detect.c index e97e9df8..781b8fa9 100644 --- a/src/detect.c +++ b/src/detect.c @@ -140,6 +140,8 @@ static void detect_newlink(unsigned short type, int index, return; devname = index2name(index); + if (devname == NULL) + return; if (type == ARPHRD_ETHER) { char bridge_path[PATH_MAX], wimax_path[PATH_MAX]; |