Always give ppp a defaultmetric
This commit is contained in:
@@ -28,6 +28,10 @@ _ifindex() {
|
||||
"${IFACE}:"*) echo "${i}"; return 0;;
|
||||
esac
|
||||
done < /proc/net/dev
|
||||
|
||||
# Return the next available index
|
||||
i=$((${i} + 1))
|
||||
echo "${i}"
|
||||
return 1
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user