Skip to content

Display will show a previous IPv4 address if an address was assigned from a previous connection #12

@apalrd

Description

@apalrd

Steps:

  • Plug device into network which provides DHCPv4
  • Wait for DHCPv4 to assign address and for it to display on screen
  • Disconnect from network
  • Plug device into a link which will not provide DHCPv4
  • As Link is up, IP address page is shown, however, as IPv4 address is now blank, previous IPv4 address is shown when it is not actually assigned.

kvm/display.go

Line 37 in 6e2177e

updateLabelIfChanged("ui_Home_Content_Ip", networkState.IPv4)
seems to be the bug. IPv4 is a blank string, updateLabelIfChanged does not write new blank string, and string is not reset back to "..." after network connection is lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions