Changeset 11736 in genesis for tools


Ignore:
Timestamp:
Feb 14, 2013, 9:16:54 AM (12 years ago)
Author:
rick
Message:

Make DHCP flagging persistent, allowing static aliases on a DHCP interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r11732 r11736  
    585585
    586586    # Flag dhclient is possible
    587     dhclient_if[ifname] = dhcp_type(ifacedump) == DHCP_CLIENT
     587    if not dhclient_if[ifname]:
     588      dhclient_if[ifname] = dhcp_type(ifacedump) == DHCP_CLIENT
    588589
    589590    # Add interface IP to list
Note: See TracChangeset for help on using the changeset viewer.