Fix behavior when system date is negative.
authorBen Pfaff <blp@nicira.com>
Wed, 16 Jul 2008 18:14:23 +0000 (11:14 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 18 Jul 2008 20:24:16 +0000 (13:24 -0700)
commit2bc1162f6f4579b7ce8102de662895211d7f306f
treef67cbf56c6801629d4ff490f1eda54101aff293c
parentebf2794ba9df8c3e968f55bb357526c480374868
Fix behavior when system date is negative.

Previously we set a few timers to expire at a time_t of 0, i.e.
immediately.  But if the system date is set incorrectly to a date
before 1970, then these timers will essentially never expire.
Set them to expire at TIME_MIN instead.
lib/learning-switch.c
lib/rconn.c