From: Russ Combs Date: Wed, 1 Oct 2014 23:47:44 +0000 (-0400) Subject: fixed default binding to use name X-Git-Tag: 3.0.0-233~1397^2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe9aadb9e6edebad4fe615eb87f1bbd926750a59;p=thirdparty%2Fsnort3.git fixed default binding to use name --- diff --git a/src/network_inspectors/binder/bind_module.cc b/src/network_inspectors/binder/bind_module.cc index a56241ac6..c4e1ef9a2 100644 --- a/src/network_inspectors/binder/bind_module.cc +++ b/src/network_inspectors/binder/bind_module.cc @@ -224,6 +224,7 @@ void BinderModule::add(const char* svc, const char* type) Binding* b = new Binding; b->when.svc = svc; b->use.type = type; + b->use.name = type; bindings.push_back(b); } @@ -232,6 +233,7 @@ void BinderModule::add(unsigned proto, const char* type) Binding* b = new Binding; b->when.protos = proto; b->use.type = type; + b->use.name = type; bindings.push_back(b); }