From 0374be5d931903f1040fd4e759e6b1d681be2047 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Fri, 16 Apr 2004 03:57:30 +0000 Subject: r248: Add support for printing out the MAC address on nmblookup. (This used to be commit bf9f02be5fc1d09c8c08c78c3f2df23b2099ba4f) --- source3/utils/nmblookup.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c index 3c5a22841e..7285712c0b 100644 --- a/source3/utils/nmblookup.c +++ b/source3/utils/nmblookup.c @@ -102,11 +102,12 @@ static void do_node_status(int fd, const char *name, int type, struct in_addr ip struct nmb_name nname; int count, i, j; struct node_status *status; + struct node_status_extra extra; fstring cleanname; d_printf("Looking up status of %s\n",inet_ntoa(ip)); make_nmb_name(&nname, name, type); - status = node_status_query(fd,&nname,ip, &count); + status = node_status_query(fd,&nname,ip, &count, &extra); if (status) { for (i=0;i