Reply To: [ZS 3.8.1]Kerbynet not handling > 100 aliases per interfa

Home Page Forums Network Management ZeroShell [ZS 3.8.1]Kerbynet not handling > 100 aliases per interfa Reply To: [ZS 3.8.1]Kerbynet not handling > 100 aliases per interfa

#54640

mmmodano
Member

Found out a simple workaround.

During the addip call, there is a sort issued in the IP folders. sort will always return 99 as last value, even if there is 100,101,…

Just adding “-n” to sort solved the issue.
(line 32 of addip, version 3.8.1)
With “sort -n”, the last interface shown by the ls would be the real last numeric one (ie 101 will display after 100 and not after 10).

Another workaround (cleaner) is just to set ALIAS to 000 instead of 00, but I didn’t try so far, and this needs also a rename of the originally created interface of ETH00:00 when initializing a profile.

If Fulvio comes around and check, would be great to integrate this small fix ?

Thanks