diff --git a/system/setup b/system/setup index a0901ec366e..89d1ef9adce 100755 --- a/system/setup +++ b/system/setup @@ -1576,7 +1576,7 @@ class GenericBsdIfconfigNetwork(Network): for line in lines: words = line.split() # Collect output from route command - if len(words) > 0: + if len(words) > 1: if words[0] == 'interface:': interface[v]['interface'] = words[1] if words[0] == 'gateway:':