diff options
-rw-r--r-- | source4/lib/netif/interface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/netif/interface.c b/source4/lib/netif/interface.c index 670913ab6f..17a10c6799 100644 --- a/source4/lib/netif/interface.c +++ b/source4/lib/netif/interface.c @@ -136,6 +136,10 @@ static void interpret_interface(TALLOC_CTX *mem_ctx, const char *token) /* maybe it is a DNS name */ p = strchr_m(token,'/'); if (!p) { + /* don't try to do dns lookups on wildcard names */ + if (strpbrk(token, "*?") != NULL) { + return; + } ip.s_addr = interpret_addr2(token).addr; for (i=0;i<total_probed;i++) { if (ip.s_addr == probed_ifaces[i].ip.s_addr && |