In /ppp profile on-up script the $interface variable is with small letters
Posted: Sat Sep 01, 2018 2:59 pm
Should this be reported as a bug:
The $interface variable in /ppp profile on-up|on-down scripts has values like this:
*f00001, *f00002, *f00003 ... *f00019, *f0001a, *f0001b (Small Letters)
If an interface with one of the interface ids from above is added in an interface list and I print the members of the list I get this:
* My focus is on ppp interfaces that are already down, that is why the members are displayed with their interface ids, not with their names.
Here the interface names are with Capital Letters and above are with small letters. This is causing me problems in some scripts. It would be better if the names are written in the exact same way everywhere in ROS. Should this be reported as a bug?
The $interface variable in /ppp profile on-up|on-down scripts has values like this:
*f00001, *f00002, *f00003 ... *f00019, *f0001a, *f0001b (Small Letters)
If an interface with one of the interface ids from above is added in an interface list and I print the members of the list I get this:
Code: Select all
[admin@MyRouter] > /interface list member print
Flags: X - disabled, D - dynamic
# LIST INTERFACE
1 CUSTOM_LIST *F00001
2 CUSTOM_LIST *F0001B
Here the interface names are with Capital Letters and above are with small letters. This is causing me problems in some scripts. It would be better if the names are written in the exact same way everywhere in ROS. Should this be reported as a bug?