# HG changeset patch # User Pascal Bellard # Date 1601821735 0 # Node ID f191879fed1a17884cc29253c70fc53b79fdeb8f # Parent ebdc840a8655427be584dcfb1e4b7bb2293d70f6 fix ipinfo diff -r ebdc840a8655 -r f191879fed1a rootfs/usr/bin/ipinfo --- a/rootfs/usr/bin/ipinfo Fri Sep 18 15:26:00 2020 +0000 +++ b/rootfs/usr/bin/ipinfo Sun Oct 04 14:28:55 2020 +0000 @@ -10,6 +10,6 @@ iface="$INTERFACE" fi -ifconfig ${iface} | awk '/inet addr/{print substr($1,6)}' +ifconfig ${iface} | awk '/inet addr/{print substr($2,6)}' exit 0