Fix a minor bug in `ipfconfig` and clean up some logic.
authorDan Cross <crossd@gmail.com>
Fri, 7 Oct 2016 20:13:20 +0000 (16:13 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 11 Oct 2016 18:28:04 +0000 (14:28 -0400)
commit1eaae114d64eea7936f2ecf01bb19f42df67ff6a
tree8d0f83daa0b26a219c163665c14bb641482397cb
parente8dec8067cae61c4dcb3fc1b37327255f8673e37
Fix a minor bug in `ipfconfig` and clean up some logic.

If the lease time is 1, then we wouldn't wait; that's a bug.
Clean up an obnoxious conditional.

Change-Id: I25ad3c5ac3510d56a0dc3d37b464ca002236875b
Signed-off-by: Dan Cross <crossd@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
tools/apps/ipconfig/main.c