summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vyos-intfwatchd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyos-intfwatchd b/scripts/vyos-intfwatchd
index 27ae35f3..d5f6753b 100644
--- a/scripts/vyos-intfwatchd
+++ b/scripts/vyos-intfwatchd
@@ -131,7 +131,7 @@ $SIG{'KILL'} = sub { exit(0); };
while(<HANDLE>)
{
- if( $_ =~ /^[0-9]+:\s+(.*)(@.*)*:\s+<.*UP,.*>/ )
+ if( $_ =~ /^[0-9]+:\s+([^@]+)(@.*)*:\s+<.*UP,.*>/ )
{
my $intf_name = $1;
my $intf = new Vyatta::Interface($intf_name);