aboutsummaryrefslogtreecommitdiff
path: root/net/macvlan.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/macvlan.sh')
-rw-r--r--net/macvlan.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/macvlan.sh b/net/macvlan.sh
index 92bcf1f8..8ac75b88 100644
--- a/net/macvlan.sh
+++ b/net/macvlan.sh
@@ -43,6 +43,12 @@ macvlan_pre_start()
[ -z "${macvlan}" ] && return 0
_check_macvlan || return 1
+
+ case " ${MODULES} " in
+ *" ifconfig "*)
+ eerror "sys-apps/iproute2 is required to configure MACVLANs"
+ return 1 ;;
+ esac
# optional mode, default to "private"
local mode=