changeset 5381:5868487298fa draft

linux: ignore unsupported interfaces by default, such as sit0
author Roy Marples <roy@marples.name>
date Mon, 22 Jun 2020 13:08:25 +0100
parents c8d7d4d5dd1c
children 294dba04aa07
files src/if.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/if.c	Mon Jun 22 12:52:42 2020 +0100
+++ b/src/if.c	Mon Jun 22 13:08:25 2020 +0100
@@ -615,6 +615,8 @@
 				}
 				break;
 			default:
+				if (if_noconf)
+					active = IF_INACTIVE;
 				if (active)
 					logwarnx("%s: unsupported"
 					    " interface type 0x%.2x",