Bugfix: $addr and $addrs couldn't find ip's before the first update.
authorNikolas Garofil <garo@dunaldi.garofil.be>
Sat, 6 Jun 2009 15:41:51 +0000 (17:41 +0200)
committerNikolas Garofil <garo@dunaldi.garofil.be>
Sat, 6 Jun 2009 15:41:51 +0000 (17:41 +0200)
commit8ffb8b238dfd3614afc582c0d5537e684219d039
treebf976d5dd86fc7fbacaba904f632f9be20c28f70
parent22733a0b4a2a2a00f83d775196e3a261b1c4d194
Bugfix: $addr and $addrs couldn't find ip's before the first update.

When you started "$updates|${addr eth0}" displayed "0|No Address",
after the first update you got something normal like "1|192.168.0.1"
This patch should fix this.
src/conky.c
src/conky.h
src/freebsd.c
src/linux.c
src/netbsd.c
src/openbsd.c