Ignore:
Timestamp:
Mar 19, 2017, 11:11:28 AM (2 months ago)
Author:
brainslayer
Message:

latest dnsmasq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/dnsmasq/src/dbus.c

    r29632 r31703  
    550550                                         "Invalid IP address '%s'", ipaddr);
    551551   
    552   hw_len = parse_hex((char*)hwaddr, dhcp_chaddr, DHCP_CHADDR_MAX, NULL,
    553                      &hw_type);
     552  hw_len = parse_hex((char*)hwaddr, dhcp_chaddr, DHCP_CHADDR_MAX, NULL, &hw_type);
    554553  if (hw_type == 0 && hw_len != 0)
    555554    hw_type = ARPHRD_ETHER;
    556 
    557     lease_set_hwaddr(lease, dhcp_chaddr, clid, hw_len, hw_type,
     555 
     556  lease_set_hwaddr(lease, dhcp_chaddr, clid, hw_len, hw_type,
    558557                   clid_len, now, 0);
    559558  lease_set_expires(lease, expires, now);
    560559  if (hostname_len != 0)
    561560    lease_set_hostname(lease, hostname, 0, get_domain(lease->addr), NULL);
    562    
     561 
    563562  lease_update_file(now);
    564563  lease_update_dns(0);
Note: See TracChangeset for help on using the changeset viewer.