LISP: fix negative mapping timeout, VPP-1043
Change-Id: Ie57b81f8743f14182813558887d84d6667c81d43 Signed-off-by: Filip Tehlar <ftehlar@cisco.com> (cherry picked from commit 0a62e5a3d817c3400be122c58d0311c298047580)
This commit is contained in:
@ -3746,7 +3746,8 @@ process_map_reply (map_records_arg_t * a)
|
||||
}
|
||||
|
||||
if ((u32) ~ 0 != m->ttl)
|
||||
mapping_start_expiration_timer (lcm, dst_map_index, MAPPING_TIMEOUT);
|
||||
mapping_start_expiration_timer (lcm, dst_map_index,
|
||||
(m->ttl == 0) ? 0 : MAPPING_TIMEOUT);
|
||||
}
|
||||
|
||||
/* remove pending map request entry */
|
||||
|
Reference in New Issue
Block a user