diff options
Diffstat (limited to 'source3/utils/nmblookup.c')
-rw-r--r-- | source3/utils/nmblookup.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c index 6214c0e45b8..8e26a206ca2 100644 --- a/source3/utils/nmblookup.c +++ b/source3/utils/nmblookup.c @@ -26,8 +26,6 @@ extern int DEBUGLEVEL; -extern pstring scope; - extern struct in_addr ipzero; static BOOL use_bcast = True; @@ -178,9 +176,12 @@ int main(int argc,char *argv[]) translate_addresses = !translate_addresses; break; case 'i': - fstrcpy(scope,optarg); - strupper(scope); - break; + { + extern pstring global_scope; + pstrcpy(global_scope,optarg); + strupper(global_scope); + } + break; case 'M': find_master = True; break; |