X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.c;h=722e8ccdb5aff8131b18d4d0c6c373bd1ff10e19;hp=a1b170524e9c059695ed95334aee295dbd31fabd;hb=ab90fa9bd1a653a330be7ef11293000721a0e7b4;hpb=14979f835df4214a7c2510852f7ffedc9e08c2c0 diff --git a/src/net.c b/src/net.c index a1b17052..722e8ccd 100644 --- a/src/net.c +++ b/src/net.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net.c,v 1.35.4.160 2002/03/01 14:09:31 guus Exp $ + $Id: net.c,v 1.35.4.161 2002/03/01 14:25:10 guus Exp $ */ #include "config.h" @@ -402,7 +402,7 @@ cp check_dead_connections(); last_ping_check = now; - if(routing_mode != RMODE_ROUTER) + if(routing_mode== RMODE_SWITCH) age_mac(); /* Should we regenerate our key? */