From 974af7130cbccc63d0735b4f74e801ecfab64711 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Fri, 18 Nov 2005 23:02:51 +0000 Subject: [PATCH] (agecontact): Remove the opt_LOSE_CONTACT, the calling procedure update_main() already has opt_LOSE_CONTACT check. --- src/lib/common/nat.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/lib/common/nat.c b/src/lib/common/nat.c index ef898334..bcd07752 100644 --- a/src/lib/common/nat.c +++ b/src/lib/common/nat.c @@ -121,11 +121,9 @@ agecontact(struct natstr *np) { int them; - if (opt_LOSE_CONTACT) { - for (them = 1; them < MAXNOC; ++them) { - if (them != np->nat_cnum && np->nat_contact[them]) { - --np->nat_contact[them]; - } + for (them = 1; them < MAXNOC; ++them) { + if (them != np->nat_cnum && np->nat_contact[them]) { + --np->nat_contact[them]; } } }