r2706: The code that prints the remote MAC address (from the statistics section
authorChristopher R. Hertel <crh@samba.org>
Tue, 28 Sep 2004 02:13:53 +0000 (02:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:49 +0000 (10:52 -0500)
commit4a96fb5d12cfa109a242414b6570cd0e6ce25ece
treec5774fa3314680803881f51b51791d99efb87227
parent521268be1caeb9e50274ff17451cbfb8dbb1765f
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 -)-----
(This used to be commit 2a5d66791fa5e1b19e0ec9072af254142245d0c2)
source3/utils/nmblookup.c