summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-03-02 15:52:04 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-03-02 15:52:04 -0800
commit81d41423748fff4a65acd4d8a4275e437cf9a8c2 (patch)
treef9b091f279b1b93f9aaa82d7c4f40d3274d8eb33 /tests
parent257863517fdcb6e29aefa1ac17fbaa7d37bd1725 (diff)
downloadvyatta-cfg-81d41423748fff4a65acd4d8a4275e437cf9a8c2.tar.gz
vyatta-cfg-81d41423748fff4a65acd4d8a4275e437cf9a8c2.zip
Add loopback as a type for getInterfacesIPadresses().
Diffstat (limited to 'tests')
-rw-r--r--tests/interface.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/interface.pl b/tests/interface.pl
index 86ec96e..9ebeb60 100644
--- a/tests/interface.pl
+++ b/tests/interface.pl
@@ -13,7 +13,7 @@ my @interfaces = getInterfaces();
print "Interfaces: ", join(' ',@interfaces),"\n";
print "IP\n";
-foreach my $type (qw/all broadcast multicast pointtopoint/) {
+foreach my $type (qw/all broadcast multicast pointtopoint loopback/) {
print "\t$type = ";
foreach my $addr (Vyatta::Misc::getInterfacesIPadresses($type)) {
print $addr, '(', is_ip_v4_or_v6($addr), ') ';