From 57c577a45483d74b9b854a90e62daf7a60b4188b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 23 Dec 2014 00:53:00 +0000 Subject: [PATCH] bonding: Allow adding all compatible devices as slaves --- src/hooks/ports/bonding | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/ports/bonding b/src/hooks/ports/bonding index 817f6d0e..33a3167c 100644 --- a/src/hooks/ports/bonding +++ b/src/hooks/ports/bonding @@ -82,8 +82,8 @@ function hook_edit() { local slave for slave in $(unquote ${SLAVES}); do - if ! device_is_ethernet ${slave}; then - error "Slave device '${slave}' is not an ethernet device." + if ! device_is_ethernet_compatible ${slave}; then + error "The slave device '${slave}' is not able to transport ethernet frames" exit ${EXIT_ERROR} fi done -- 2.47.3