]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
fixed default binding to use name
authorRuss Combs <rucombs@cisco.com>
Wed, 1 Oct 2014 23:47:44 +0000 (19:47 -0400)
committerRuss Combs <rucombs@cisco.com>
Wed, 1 Oct 2014 23:47:44 +0000 (19:47 -0400)
src/network_inspectors/binder/bind_module.cc

index a56241ac69815682b5c8ca0ac37eda95f6085819..c4e1ef9a201d6bb3ea42d8f2cf8b405a1d230bca 100644 (file)
@@ -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);
 }