diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2011-12-12 22:52:09 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2011-12-12 22:52:09 -0800 |
commit | ac2391e0cba6b9b19660de1a76c5609cc0d3b05e (patch) | |
tree | e19ce15ee0554c0f6e4cbb0b009e1851c5693cd4 | |
parent | ce9994f7caa3a82575b61b944b69b518b3508710 (diff) |
net/vlan: Fix mtu setting
Fix minor shell typo that broke setting mtu on vlans.
X-Gentoo-Bug: 392971
X-Gentoo-Bug-URL: https://bugs.gentoo.org/392971
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | net/vlan.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/vlan.sh b/net/vlan.sh index 6eed36b9..9cce3b90 100644 --- a/net/vlan.sh +++ b/net/vlan.sh @@ -85,7 +85,7 @@ vlan_post_start() eval broadcast=\$broadcast_vlan${vlan} local mtu= eval mtu=\$mtu_vlan${vlan} - local opts="${txqueuelen:+txqueuelen} ${txqueuelen} ${mac:+address} ${mac} ${broadcast:+broadcast} ${broadcast} ${mtu+:mtu} ${mtu}" + local opts="${txqueuelen:+txqueuelen} ${txqueuelen} ${mac:+address} ${mac} ${broadcast:+broadcast} ${broadcast} ${mtu:+mtu} ${mtu}" e="$(ip link add link "${IFACE}" name "${vname}" ${opts} type vlan id "${vlan}" ${vflags} ${vingress} ${vegress} 2>&1 1>/dev/null)" if [ -n "${e}" ]; then |