From ac2391e0cba6b9b19660de1a76c5609cc0d3b05e Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 12 Dec 2011 22:52:09 -0800 Subject: 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 --- net/vlan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3