projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba798e8
)
Debian bridge fix
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 28 Jun 2011 20:23:19 +0000
(16:23 -0400)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 28 Jun 2011 20:23:19 +0000
(16:23 -0400)
net/debian-linux-lib.pl
patch
|
blob
|
history
diff --git
a/net/debian-linux-lib.pl
b/net/debian-linux-lib.pl
index
3d437ff
..
fa92dab
100755
(executable)
--- a/
net/debian-linux-lib.pl
+++ b/
net/debian-linux-lib.pl
@@
-184,6
+184,9
@@
if ($cfg->{'ether'}) {
push(@options, [ 'hwaddr', ($cfg->{'ether_type'} || 'ether').' '.
$cfg->{'ether'} ]);
}
+if ($cfg->{'bridge'}) {
+ push(@options, [ 'bridge_ports', $cfg->{'bridgeto'} ]);
+ }
# Set bonding parameters
if(($cfg->{'bond'} == 1) && ($gconfig{'os_version'} >= 5)) {