in-band: Avoid magic number in refresh_remotes().
authorBen Pfaff <blp@nicira.com>
Tue, 20 Apr 2010 20:58:24 +0000 (13:58 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 26 Apr 2010 16:51:10 +0000 (09:51 -0700)
commit5dbdfff733b4833397feba64047dabac9bb36531
treec94dcd9b2959f71e346d0fde7d71d6dbd6430e66
parent6dee2066b5edaa9b5c7af572d075591ad595428d
in-band: Avoid magic number in refresh_remotes().

The initial value of min_refresh() can only matter if there are no remotes,
in which case there is nothing to refresh anyhow.  So avoid the magic
number "10" as the initial minimum, since it has no real significance.

Suggested-by: Justin Pettit <jpettit@nicira.com>
ofproto/in-band.c