dfree confpars.c(648): free on null pointer.

John Hascall john at iastate.edu
Fri Feb 22 15:23:37 UTC 2008


> Internet Systems Consortium DHCP Server V3.1.0
    ...
> /etc/dhcpd.conf.new line 286299: unknown option dhcp.option-176
>   option option-176 "MCIPADD=blah,blah,blah"
>          ^
> dfree confpars.c(648): free on null pointer.
       (repeats for each host that has 'option option-176 ...);
    ...
> Configuration file errors encountered -- exiting

What seems to be causing this is:

option option-176 code 176 = text;
   ...
option avaya-call-server code 176 = text;
   ...
host thing1 {
  ...
  option option-176 "MCIPADD=blah,blah.blah";
}
   ...
host thing2 {
  ...
  option avaya-call-server "MCIPADD=foo,bar,frobozz";
}

So, is it a feature or a bug that everything has to use the
same name for options?

If you are wondering, why this would happen it is because
our dhcpd config is auto-built from a variety of sources.

John


More information about the dhcp-users mailing list