*** From dhcp-server -- To unsubscribe, see the end of this message. ***

> dynamic-bootp-lease-length 7200;        # 2 hours
> 
> causes this error message:
> 
> Apr 20 16:01:42 avalon dhcpd: /etc/dhcpd.conf line 18: expecting a parameter 
> or declaration.

D'oh!   The following patch should fix it (there's some unrelated
stuff in it as well).

                               _MelloN_

Index: tables.c
===================================================================
RCS file: /proj/src/isc/cvs-1/DHCP/common/tables.c,v
retrieving revision 1.25
diff -c -r1.25 tables.c
*** tables.c    1999/04/08 19:33:00     1.25
--- tables.c    1999/04/22 03:14:45
***************
*** 111,130 ****
        { "dhcp-client-identifier", "X",                &dhcp_universe, 61 },
        { "option-62", "X",                             &dhcp_universe, 62 },
        { "option-63", "X",                             &dhcp_universe, 63 },
!       { "option-64", "X",                             &dhcp_universe, 64 },
!       { "option-65", "X",                             &dhcp_universe, 65 },
!       { "option-66", "X",                             &dhcp_universe, 66 },
!       { "option-67", "X",                             &dhcp_universe, 67 },
!       { "option-68", "X",                             &dhcp_universe, 68 },
!       { "option-69", "X",                             &dhcp_universe, 69 },
!       { "option-70", "X",                             &dhcp_universe, 70 },
!       { "option-71", "X",                             &dhcp_universe, 71 },
!       { "option-72", "X",                             &dhcp_universe, 72 },
!       { "option-73", "X",                             &dhcp_universe, 73 },
!       { "option-74", "X",                             &dhcp_universe, 74 },
!       { "option-75", "X",                             &dhcp_universe, 75 },
!       { "option-76", "X",                             &dhcp_universe, 76 },
!       { "dhcp-user-class-identifier", "t",            &dhcp_universe, 77 },
        { "option-78", "X",                             &dhcp_universe, 78 },
        { "option-79", "X",                             &dhcp_universe, 79 },
        { "option-80", "X",                             &dhcp_universe, 80 },
--- 111,130 ----
        { "dhcp-client-identifier", "X",                &dhcp_universe, 61 },
        { "option-62", "X",                             &dhcp_universe, 62 },
        { "option-63", "X",                             &dhcp_universe, 63 },
!       { "nisplus-domain", "t",                        &dhcp_universe, 64 },
!       { "nisplus-servers", "IA",                      &dhcp_universe, 65 },
!       { "tftp-server-name", "t",                      &dhcp_universe, 66 },
!       { "bootfile-name", "t",                         &dhcp_universe, 67 },
!       { "mobile-ip-home-agent", "IA",                 &dhcp_universe, 68 },
!       { "smtp-server", "IA",                          &dhcp_universe, 69 },
!       { "pop-server", "IA",                           &dhcp_universe, 70 },
!       { "nntp-server", "IA",                          &dhcp_universe, 71 },
!       { "www-server", "IA",                           &dhcp_universe, 72 },
!       { "finger-server", "IA",                        &dhcp_universe, 73 },
!       { "irc-server", "IA",                           &dhcp_universe, 74 },
!       { "streettalk-server", "IA",                    &dhcp_universe, 75 },
!       { "streettalk-directory-assistance-server", "IA", &dhcp_universe, 76 },
!       { "user-class", "t",                            &dhcp_universe, 77 },
        { "option-78", "X",                             &dhcp_universe, 78 },
        { "option-79", "X",                             &dhcp_universe, 79 },
        { "option-80", "X",                             &dhcp_universe, 80 },
***************
*** 829,836 ****
        { "default-lease-time", "L",            &server_universe, 1 },
        { "max-lease-time", "L",                &server_universe, 2 },
        { "min-lease-time", "L",                &server_universe, 3 },
!       { "bootp-lease-cutoff", "L",            &server_universe, 4 },
!       { "bootp-lease-length", "L",            &server_universe, 5 },
        { "boot-unknown-clients", "f",          &server_universe, 6 },
        { "dynamic-bootp", "f",                 &server_universe, 7 },
        { "allow-bootp", "f",                   &server_universe, 8 },
--- 829,836 ----
        { "default-lease-time", "L",            &server_universe, 1 },
        { "max-lease-time", "L",                &server_universe, 2 },
        { "min-lease-time", "L",                &server_universe, 3 },
!       { "dynamic-bootp-lease-cutoff", "L",    &server_universe, 4 },
!       { "dynamic-bootp-lease-length", "L",    &server_universe, 5 },
        { "boot-unknown-clients", "f",          &server_universe, 6 },
        { "dynamic-bootp", "f",                 &server_universe, 7 },
        { "allow-bootp", "f",                   &server_universe, 8 },
***************
*** 846,852 ****
        { "authoritative", "f",                 &server_universe, 18 },
        { "vendor-option-space", "U",           &server_universe, 19 },
        { "always-reply-rfc1048", "f",          &server_universe, 20 },
!       { "option-21", "X",                     &server_universe, 21 },
        { "option-22", "X",                     &server_universe, 22 },
        { "option-23", "X",                     &server_universe, 23 },
        { "option-24", "X",                     &server_universe, 24 },
--- 846,852 ----
        { "authoritative", "f",                 &server_universe, 18 },
        { "vendor-option-space", "U",           &server_universe, 19 },
        { "always-reply-rfc1048", "f",          &server_universe, 20 },
!       { "user-option-space", "X",             &server_universe, 21 },
        { "option-22", "X",                     &server_universe, 22 },
        { "option-23", "X",                     &server_universe, 23 },
        { "option-24", "X",                     &server_universe, 24 },


------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED]   Please try to use the web
page first - it will take a long time for your request to be processed by hand.

Archives for this mailing list are available at 
http://www.webnology.com/list-archives/dhcp/dhcp-server

------------------------------------------------------------------------------

Reply via email to