]> git.pond.sub.org Git - empserver/commit
update: Fix excessively fast contact aging
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 22 Oct 2016 15:24:14 +0000 (17:24 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:20 +0000 (20:09 +0200)
commitae011d089bb073bc8eb2da8b65764adacf0615f6
treeba2085f58d1523cd145acd3fdfb9f0f7155b3c1c
parentd055dbecb88324bc6eaa4326e96a022d73ab28ed
update: Fix excessively fast contact aging

When option LOSE_CONTACT is enabled, contact is lost after a few
updates.  The remaining number of updates is to be decremented by one
each update.  However, it's actually decremented every time an active
nation is updated.  This makes countries lose contact much too fast,
typically every update.  Broken in commit ac25058, v4.3.0.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/update/nat.c