summaryrefslogtreecommitdiff
path: root/scripts/vyatta-interfaces.pl
diff options
context:
space:
mode:
authorRuben Herold <ruben@puettmann.net>2019-03-22 08:11:10 +0100
committerChristian Poessinger <christian@poessinger.com>2019-05-30 23:25:59 +0200
commit6d53089a202eac77b9a6599718807ee77ae8b49c (patch)
tree7282ae5bb33f49d3983e6906e5977db8502e4bea /scripts/vyatta-interfaces.pl
parent8ef90f5e6cfa6a2f7916bef7871364691c9127f3 (diff)
downloadvyatta-cfg-system-6d53089a202eac77b9a6599718807ee77ae8b49c.tar.gz
vyatta-cfg-system-6d53089a202eac77b9a6599718807ee77ae8b49c.zip
T1309: remove duplicate ip address check
(cherry picked from commit 67b10e6ff5f33d73c128508f00198cc3c04c13fc)
Diffstat (limited to 'scripts/vyatta-interfaces.pl')
-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));
}