nmblookup.c:
authorChristopher R. Hertel <crh@samba.org>
Sat, 4 Oct 1997 01:07:47 +0000 (01:07 +0000)
committerChristopher R. Hertel <crh@samba.org>
Sat, 4 Oct 1997 01:07:47 +0000 (01:07 +0000)
commit09dc951f2acd67da9d895e8e00c01e7abbbe0960
tree89c5bff152fae67e84a12adfbf78a8a9e6f8368d
parent23eeab7aa2e9c935e1f48ce3449544c03c1c899f
nmblookup.c:
  I've added a -r option.  When specified, nmblookup will attempt to bind
  to port 137.  In order for this to work, the user must be root and the
  port must be available (i.e., nmbd not running).  If either condition is
  not met, nmblookup will default to normal behavior; it will try to bind
  to a free port above 7999.  I also removed an artifact.  The -p <port>
  option was being accepted but falling through to the default, which was
  the usage message.  I removed "p:" from the getopt() list.

params.c:
  Rewritten.  The scanning is much more linear, and I found and fixed a
  few bugs.  I don't like the way that the scratch buffer is handled,
  but I believe that it is an improvement over the previous version.

Chris -)-----
source/param/params.c
source/utils/nmblookup.c