aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2015-02-27 11:03:19 +0100
committerLukas Nykryn <lnykryn@redhat.com>2015-02-27 11:03:19 +0100
commitbfde26c1bb47b18270f511021a68a3dc481c042b (patch)
treeabbcaf7c1379c167d8fecc57e8ad83d333b2ba92
parent08acc853d72d008aff9e07b3049bebad0c8daca6 (diff)
downloadinitscripts-bfde26c1bb47b18270f511021a68a3dc481c042b.tar
initscripts-bfde26c1bb47b18270f511021a68a3dc481c042b.tar.gz
initscripts-bfde26c1bb47b18270f511021a68a3dc481c042b.tar.bz2
initscripts-bfde26c1bb47b18270f511021a68a3dc481c042b.tar.xz
initscripts-bfde26c1bb47b18270f511021a68a3dc481c042b.zip
ifup-aliases: inherit ARPCHECK from parent device
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index b20f2af6..e66cb81d 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -126,6 +126,7 @@ eval ` (
echo default_BROADCAST=$BROADCAST\;;
echo default_GATEWAY=$GATEWAY\;;
echo default_NO_ALIASROUTING=$NO_ALIASROUTING\;;
+ echo default_ARPCHECK=$ARPCHECK\;;
) `
[ -z "$default_GATEWAY" ] && default_GATEWAY=$network_GATEWAY
@@ -140,7 +141,7 @@ function ini_env ()
GATEWAY=$default_GATEWAY
NO_ALIASROUTING=$default_NO_ALIASROUTING
ONPARENT=""
- ARPCHECK=""
+ ARPCHECK=$default_ARPCHECK
}
function is_default_gateway ()