summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/system/vyatta_interface_rescan2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/system/vyatta_interface_rescan b/scripts/system/vyatta_interface_rescan
index e93bbdfc..5b72a480 100755
--- a/scripts/system/vyatta_interface_rescan
+++ b/scripts/system/vyatta_interface_rescan
@@ -55,6 +55,8 @@ sub persistent_address {
return 1 unless ($oct0 & 0x2); # this is good, not locally assigned
+ return 1 if ( -d '/proc/xen' ); # workaround Xen breakage
+
# unless it is in whitelist, it is non persistent
$mac =~ /^([0-9a-f][0-9a-f]:[0-9a-f][0-9a-f]:[0-9a-f][0-9a-f])/;
return $whitelist{$1};