diff options
author | Dan Williams <dcbw@redhat.com> | 2012-08-31 10:37:49 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-08-31 10:41:57 -0500 |
commit | 61d41978c1b217870f399aa38df9af110ca977b1 (patch) | |
tree | a4283d35dc2f72ec75c46b4bfe77a6d4ec239075 /src/main.c | |
parent | 20539a88e66df64d311752d889d239a34b389d87 (diff) |
icera: fix parsing of IP config options
Some of the IP address items will be 0.0.0.0 depending on what the
other items are, like when the duplicate gateway is set on newer
devices, the first gateway address may be 0.0.0.0. Since that's
not a valid IP address, just don't set that member of the config.
Second, the intent with the duplicate gateway is only to use that
when the first gateway was not given (ie, was 0.0.0.0) so fix the
check for that.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions