projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0fd542
)
Preserve brctl pre-up options
author
Jamie Cameron
<jcameron@webmin.com>
Sat, 22 Jan 2011 18:39:43 +0000
(10:39 -0800)
committer
Jamie Cameron
<jcameron@webmin.com>
Sat, 22 Jan 2011 18:39:43 +0000
(10:39 -0800)
net/debian-linux-lib.pl
patch
|
blob
|
history
diff --git
a/net/debian-linux-lib.pl
b/net/debian-linux-lib.pl
index
cf00e28
..
b30d259
100755
(executable)
--- a/
net/debian-linux-lib.pl
+++ b/
net/debian-linux-lib.pl
@@
-211,7
+211,8
@@
foreach $iface (@ifaces) {
# Found interface to change
$found = 1;
foreach my $o (@{$iface->[3]}) {
- if ($o->[0] eq 'gateway') {
+ if ($o->[0] eq 'gateway' ||
+ $o->[0] eq 'pre-up' && $o->[1] =~ /brctl/) {
push(@options, $o);
}
}