Hello :-)

I'm on an machine with Manjaro Linux. 
I get some error messages from shift command in the routel script:
/usr/bin/routel: Zeile 48: shift: shift count out of range

Reason are lines from "ip route list table 0" starting with word "multicast" :
 
multicast ff00::/8 dev enp2s0 table local proto kernel metric 256 pref medium

I added the "multicast" word in routel script and everything is fine ;-)

Greetings

Burkhard Arenfeld


Signed-off-by: Burkhard Arenfeld <b.arenf...@arcor.de>

--- routel.orig 2021-03-15 08:23:24.706677247 +0100
+++ routel      2021-03-15 08:23:20.293589911 +0100
@@ -25,7 +25,7 @@ ip route list table "$@" |
     src=""
     table=""
     case $network in
-       broadcast|local|unreachable) via=$network
+       broadcast|local|multicast|unreachable) via=$network
           network=$1
           shift
           ;;


Reply via email to