Folks,

just updated to latest snapshot (Nov 20):

root@poseidon:[~]> uname -a
OpenBSD poseidon.atlantide.net 5.6 GENERIC.MP#579 amd64

and noticed that lease declarations in /etc/dhclient.conf no longer
work:

root@poseidon:[~]> cat /etc/dhclient.conf 
# $OpenBSD: dhclient.conf,v 1.2 2011/04/04 11:14:52 krw Exp $
#
# DHCP Client Configuration
#
# See dhclient.conf(5) for possible contents of this file.
# When empty default values are used:
#
# Example:
#
# send dhcp-lease-time 3600;
# send host-name "myhost";
# supersede host-name "myhost";
# supersede domain-name "my.domain";
# request subnet-mask, broadcast-address, time-offset, routers,
#       domain-name, domain-name-servers, host-name, lpr-servers, ntp-servers;
# require subnet-mask, domain-name-servers, routers;
initial-interval 1;
send host-name "poseidon";
request subnet-mask, broadcast-address, routers, domain-name,
        domain-name-servers, host-name;

# Lease declarations (fallback)
lease {
    interface "trunk0";
    fixed-address 192.168.1.103;
    option subnet-mask 255.255.255.0;
    option routers 127.0.0.1;
    option domain-name-servers 127.0.0.1;
    option dhcp-lease-time 259200;
    renew  4 2020/12/31 23:59:59 UTC;
    rebind 4 2020/12/31 23:59:59 UTC;
    expire 4 2020/12/31 23:59:59 UTC;
}

root@poseidon:[~]> dhclient iwn0
/etc/dhclient.conf line 24: wrong interface name.
    interface "trunk0"
              ^
Segmentation fault

Commenting out the "lease" section, all works as expected.

Am I missing something?

-- 
Alessandro DE LAURENZIS
[mailto:just22....@gmail.com]
LinkedIn: http://it.linkedin.com/in/delaurenzis

Reply via email to