From af31bd1741effb8aa8a6fb1070c61e958c47b31f Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 11 May 2005 09:27:05 +0000 Subject: Joerg Sonnenberger: 21252: Dragonfly BSD support --- Completion/Unix/Type/_net_interfaces | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Type/_net_interfaces') diff --git a/Completion/Unix/Type/_net_interfaces b/Completion/Unix/Type/_net_interfaces index 8897d427f..dc7898c3d 100644 --- a/Completion/Unix/Type/_net_interfaces +++ b/Completion/Unix/Type/_net_interfaces @@ -12,7 +12,7 @@ case $OSTYPE in disp=(-ld list) fi ;; - darwin*|freebsd*) intf=( $(ifconfig -l) ) ;; + darwin*|freebsd*|dragonfly*) intf=( $(ifconfig -l) ) ;; irix*) intf=( ${${${(f)"$(/usr/etc/netstat -i)"}%% *}[2,-1]} ) ;; linux*) intf=( /proc/sys/net/ipv4/conf/*~*(all|default)(N:t) ) ;; *) intf=( $(ifconfig -a|sed -n 's/^\([^ :]*\).*/\1/p') ) ;; -- cgit 1.4.1