diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/OneService.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index 05e8997d..b925fc1b 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -2001,10 +2001,8 @@ public: { Mutex::Lock _l(_localConfig_m); for(std::vector<std::string>::const_iterator p(_interfacePrefixBlacklist.begin());p!=_interfacePrefixBlacklist.end();++p) { - if (!strncmp(p->c_str(),ifname,p->length())) { - printf("%s\n",ifname); + if (!strncmp(p->c_str(),ifname,p->length())) return false; - } } } |