|
Harald Hoyer |
afa7aa |
From 32618b456e4ba4b02e595eae067ec77df526ab9b Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
afa7aa |
From: Harald Hoyer <harald@hoyer.xyz>
|
|
Harald Hoyer |
afa7aa |
Date: Mon, 9 Oct 2017 09:38:37 +0200
|
|
Harald Hoyer |
afa7aa |
Subject: [PATCH] Merge pull request #277 from imran1008/bond-master-mtu
|
|
Harald Hoyer |
afa7aa |
|
|
Harald Hoyer |
afa7aa |
Set MTU on bond master as opposed to a bond slave
|
|
Harald Hoyer |
afa7aa |
---
|
|
Harald Hoyer |
afa7aa |
modules.d/40network/ifup.sh | 2 +-
|
|
Harald Hoyer |
afa7aa |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
afa7aa |
|
|
Harald Hoyer |
afa7aa |
diff --git a/modules.d/40network/ifup.sh b/modules.d/40network/ifup.sh
|
|
Harald Hoyer |
afa7aa |
index 687b5707..0db3c021 100755
|
|
Harald Hoyer |
afa7aa |
--- a/modules.d/40network/ifup.sh
|
|
Harald Hoyer |
afa7aa |
+++ b/modules.d/40network/ifup.sh
|
|
Harald Hoyer |
afa7aa |
@@ -257,7 +257,7 @@ if [ -z "$NO_BOND_MASTER" ]; then
|
|
Harald Hoyer |
afa7aa |
done
|
|
Harald Hoyer |
afa7aa |
|
|
Harald Hoyer |
afa7aa |
# Set mtu on bond master
|
|
Harald Hoyer |
afa7aa |
- [ -n "$bondmtu" ] && ip link set mtu $bondmtu dev $netif
|
|
Harald Hoyer |
afa7aa |
+ [ -n "$bondmtu" ] && ip link set mtu $bondmtu dev $bondname
|
|
Harald Hoyer |
afa7aa |
|
|
Harald Hoyer |
afa7aa |
# add the bits to setup the needed post enslavement parameters
|
|
Harald Hoyer |
afa7aa |
for arg in $bondoptions ; do
|
|
Harald Hoyer |
afa7aa |
|