Make clearer that 'is not allowed' actually means that the address conflicts with another
This commit is contained in:
@ -50,7 +50,7 @@ def validate_loopbacks(yaml):
|
||||
if 'addresses' in iface:
|
||||
for a in iface['addresses']:
|
||||
if not address.is_allowed(yaml, ifname, iface['addresses'], a):
|
||||
msgs.append("loopback %s IP address %s is not allowed" % (ifname, a))
|
||||
msgs.append("loopback %s IP address %s conflicts with another" % (ifname, a))
|
||||
result = False
|
||||
|
||||
return result, msgs
|
||||
|
Reference in New Issue
Block a user