/[baselayout]/trunk/net.Linux/iproute2.sh
Gentoo

Diff of /trunk/net.Linux/iproute2.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2753 Revision 2754
116 local cmd= have_metric=false 116 local cmd= have_metric=false
117 while [ -n "$1" ] ; do 117 while [ -n "$1" ] ; do
118 case "$1" in 118 case "$1" in
119 metric) cmd="${cmd} $1"; have_metric=true ;; 119 metric) cmd="${cmd} $1"; have_metric=true ;;
120 netmask) cmd="${cmd}/$(_netmask2cidr "$2")"; shift ;; 120 netmask) cmd="${cmd}/$(_netmask2cidr "$2")"; shift ;;
121 -net) ;; 121 -host|-net) ;;
122 -A) [ "$2" = "inet6" ] && shift ;; 122 -A) [ "$2" = "inet6" ] && shift ;;
123 -host) cmd="${cmd} scope host" ;;
124 *) cmd="${cmd} $1" ;; 123 *) cmd="${cmd} $1" ;;
125 esac 124 esac
126 shift 125 shift
127 done 126 done
128 127

Legend:
Removed from v.2753  
changed lines
  Added in v.2754

  ViewVC Help
Powered by ViewVC 1.1.20