mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
Tests - stub ip program should assume interface name if "dev" not specified.
Currently it fails if you don't use the "dev" keyword. This makes it behave as expected. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 4fa2073649f25993de4b8ef6b3e7172068a83a29)
This commit is contained in:
parent
72362e7b56
commit
7e5c48c84c
@ -139,7 +139,8 @@ case "$1" in
|
||||
secondary=true ; primary=false ; shift
|
||||
;;
|
||||
*)
|
||||
not_implemented "addr list ... $1 ..."
|
||||
# Assume an interface name
|
||||
dev="$1" ; shift 1
|
||||
esac
|
||||
done
|
||||
devices="$dev"
|
||||
|
Loading…
x
Reference in New Issue
Block a user