diff --git a/contrib/dsniff b/contrib/dsniff index 055d2013..95875be3 100644 --- a/contrib/dsniff +++ b/contrib/dsniff @@ -7,11 +7,11 @@ _arpspoof() COMPREPLY=() cur=`_get_cword` - prev=${COMP_WORDS[COMP_CWORD-1]} + prev=`_get_pword` case $prev in -i) - _interfaces + _available_interfaces return 0 ;; -t)