More than 1 year has passed since last update.
$ ifconfig eth0 | grep -o -P '(?<=inet addr:)\d+\.\d+\.\d+\.\d+'
0.0.0.0