Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1381

NAT44:Incorrect if condition when delete session(s) for static mapping

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • 17.07, 17.10, 18.01, 18.04, 18.07
    • S-NAT
    • None

      nat.c:1183/1468

      if ((s->in2out.addr.as_u32 != local->addr.as_u32) && (clib_net_to_host_u16 (s->in2out.port) != local->port))

      The session should not be deleted when either ip address or port doesn't same with static mapping.  

            icecream shubing guo
            icecream shubing guo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: