r2706: The code that prints the remote MAC address (from the statistics section
commit2a5d66791fa5e1b19e0ec9072af254142245d0c2
authorChristopher R. Hertel <crh@samba.org>
Tue, 28 Sep 2004 02:13:53 +0000 (28 02:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:49 +0000 (10 10:52 -0500)
treea88d3dc1e8c78f7bb9a38ae8da361ca8ce6ac91b
parentba69c7229c27e917a24e6d608d59e7c0bdd47551
r2706: The code that prints the remote MAC address (from the statistics section
of the response packet) was outside of the if() that determined whether
the query was successful or not.  As a result, the MAC address would print
out even if there was no MAC address.  At least the garbage it printed was
relatively consistent.  :)

I moved the MAC printing into the if() block and added an 'else' to print
"No reply..." if the query fails.

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