summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRuben Herold <ruben@puettmann.net>2019-03-22 08:11:10 +0100
committerChristian Poessinger <christian@poessinger.com>2019-03-22 08:11:10 +0100
commit67b10e6ff5f33d73c128508f00198cc3c04c13fc (patch)
tree8c463ea4d145b2547d3a06da8e8719cd936e61b3 /scripts
parent16d5cfc8b089f4bf96b689da0abcbc0a0d729f20 (diff)
downloadvyatta-cfg-system-67b10e6ff5f33d73c128508f00198cc3c04c13fc.tar.gz
vyatta-cfg-system-67b10e6ff5f33d73c128508f00198cc3c04c13fc.zip
T1309: remove duplicate ip address check
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-interfaces.pl5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl
index d0e37a2d..808015fd 100755
--- a/scripts/vyatta-interfaces.pl
+++ b/scripts/vyatta-interfaces.pl
@@ -314,11 +314,6 @@ sub is_valid_addr_commit {
next;
}
- my $intfs = $addrmap->{$addr};
- if ($intfs && scalar(@{$intfs}) > 1) {
- die "Duplicate address $addr used on interfaces: ",join(',', @${intfs}), "\n";
- }
-
$static_v4 = 1
if (is_ipv4($addr));
}