# HG changeset patch # User Sebastien Decugis # Date 1265181549 -32400 # Node ID 7704fe55bb352dd532b4c142db290dde63a93d55 # Parent 2b2f78036749b3373561c643a48631bc085b29c4 Added comment on expiry diff -r 2b2f78036749 -r 7704fe55bb35 freeDiameter/peers.c --- a/freeDiameter/peers.c Wed Feb 03 15:58:56 2010 +0900 +++ b/freeDiameter/peers.c Wed Feb 03 16:19:09 2010 +0900 @@ -451,7 +451,8 @@ /* Set this peer to expire on inactivity */ peer->p_hdr.info.config.pic_flags.exp = PI_EXP_INACTIVE; - peer->p_hdr.info.config.pic_lft = 3600 * 3; /* 3 hours without any message */ + peer->p_hdr.info.config.pic_lft = 3600; /* 1 hour without any message + -- RFC3539 states that this must not be inferior to BRINGDOWN_INTERVAL = 5 minutes */ /* Insert the new peer in the list (the PSM will take care of setting the expiry after validation) */ fd_list_insert_before( li, &peer->p_hdr.chain );