[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: patch to disable SLP registration from commandline (ITS#3132)



At 12:37 AM 5/19/2004, ando@sys-net.it wrote:

>> On Wed, May 19, 2004 at 12:49:40AM +0000, Kurt Zeilenga wrote:
>>> I think it may be more appropraite to reverse the option
>>> logic.  That is, to only provide SLP registrations when
>>> a command line option is provided.  Comments?
>>
>> No problem for me. I just didn't want to change the the current default
>> behaviour, that is, if enabled at compile time do the SLP registration
>> without the need for any futher action. But I am fine with inverting the
>> logic.
>> What option would you prefer for the command line as I think "-N"
>> doesn't fit.
>
>I suggest
>
>        -o slp={ON|off} )
>
>with default (if any) uppercased.

In the long run, this seems best.  It also makes it easier
to add something like:
        -o slp="<list of URLs>"

in the future (as well as options for other things).

Kurt