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

DHCP client implementation configures gateway address even if DHCP server does not provide a gateway address

    Details

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

      Description

      The current DHCP client implementation configures a gateway IP address even if the DHCP server does not provide a gateway address in the DHCP-OFFER. The gateway address will be set to the network address + 1.

      I would expect the gateway address to be 0.0.0.0 in case the DHCP server does not provide a gateway address.

      This was fixed for earlier LWIP releases (based on upstream version V1.4) with 
      PSLWIP-393, but was reintroduced by accident with integration of upstream LWIP V2)

        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: