Uploaded image for project: 'LWIP based TCP/IP'
  1. LWIP based TCP/IP
  2. PSLWIP-430

[DHCP Client] - Do not clear netif IP when DHCP/BOOTP client is disabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: V5.1.0.7, V5.1.3.0
    • Labels:
      None
    • Account:
      SPC TCP_IP (SPCTCPIP)

      Description

      When a device has acquired a IP from DHCP and is subsequently reconfigured for a static IP, and that static IP equals the previous DHCP-assigned IP, then TCP connections shall not be aborted, but persist the state transition "DHCP server disable".

      To achieve this, a new service LwIP_NetIf_AutoIP_Stop_KeepIpConfig() shall behave similar to LwIP_NetIf_AutoIP_Stop(), without setting the netif IP address to zero. Instead, the netif shall keep its previous state/IP, so that only the DHCP client state machine is stopped/disabled.

        Attachments

          Issue Links

            Expenses

              Activity

                Status Description

                  People

                  • Reporter:
                    MBommert Marc Bommert
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: