cmdline: parse ip/ether addr, don't write in result if NULL
authorOlivier Matz <zer0@droids-corp.org>
Thu, 30 Jun 2011 16:21:17 +0000 (18:21 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Thu, 30 Jun 2011 16:21:17 +0000 (18:21 +0200)
commit144f9f5da375c6f81de9c2d97f4367f7e7f12bd6
treeaf9b57a3df4b4c7186c439fb9e4843143c793281
parent27fbfad09ece8c5e4fe7be9079172ee1b75de769
cmdline: parse ip/ether addr, don't write in result if NULL

Signed-off-by: Olivier Matz <zer0@droids-corp.org>
src/lib/cmdline_parse_etheraddr.c
src/lib/cmdline_parse_ipaddr.c