Actually, I found it ;-)
Just need to add "scope global", like this:
LC_ALL=C /sbin/ip -4 addr list dev "$interface" scope global
Actually, I found it ;-)
Just need to add "scope global", like this:
LC_ALL=C /sbin/ip -4 addr list dev "$interface" scope global