[Dnsmasq-discuss] dnsmasq compilation and --help not matching

SALA MASSIMO MASSIMO.SALA at ats-bg.it
Fri Jun 14 19:03:59 BST 2019


Hi


I compile dnsmasq 2.80, without dhcp support.


dnsmasq -v


Dnsmasq version 2.80  Copyright (c) 2000-2018 Simon Kelley

Compile time options: no-IPv6 GNU-getopt no-DBus no-i18n no-IDN no-DHCP no-scripts no-TFTP no-conntrack ipset no-auth no-DNSSEC loop-detect no-inotify dumpfile



dnsmasq --help | grep dhcp


-F, --dhcp-range=<ipaddr>,...                          Enable DHCP in the range given with lease duration.

-G, --dhcp-host=<hostspec>                             Set address or hostname for a specified machine.

    --dhcp-hostsfile=<path>                            Read DHCP host specs from file.

... etc. etc... with all the dhcp options



The same looking other features disabled, for example

dnsmasq --help | grep tftp



Why does dnsmasq show these options?

This is counter-intuitive,  I never see other programs where the help doesn't match the compiled features.


Best regards, Massimo



[ATS logo]
Le informazioni contenute in questo messaggio e nei suoi allegati sono ad esclusivo beneficio del corretto destinatario e sono da considerarsi confidenziali e riservate. Qualora abbiate ricevuto il messaggio per errore, siete pregati di darne immediata notizia al mittente e di provvedere alla sua cancellazione. La rivelazione del contenuto di corrispondenza destinata ad altri e ricevuta per errore è perseguibile penalmente e può costituire un trattamento illecito di dati personali.

This e-mail and any attachment is confidential and only for use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure of this communication is strictly prohibited. If you have received this communication in error, please notify the sender, and then delete this message from your system.

Prima di stampare, pensa all'ambiente.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20190614/7e1ef259/attachment.html>


More information about the Dnsmasq-discuss mailing list