Fix socket creation in host_unreachable() (thanks to Bjørn Augestad)
[l2tpns.git] / autosnoop.c
index 8116d2e..2b17b80 100644 (file)
@@ -4,9 +4,9 @@
 
 /* set up intercept based on RADIUS reply */
 
-char const *cvs_id = "$Id: autosnoop.c,v 1.5 2004/11/05 04:55:25 bodea Exp $";
+char const *cvs_id = "$Id: autosnoop.c,v 1.7 2004/11/09 08:05:02 bodea Exp $";
 
-int __plugin_api_version = 1;
+int __plugin_api_version = PLUGIN_API_VERSION;
 struct pluginfuncs *p;
 
 int plugin_radius_response(struct param_radius_response *data)
@@ -27,7 +27,7 @@ int plugin_radius_response(struct param_radius_response *data)
                }
                else
                {
-                       p->log(3, 0, 0, 0, "         Not Intercepting user (reply string should be snoop=ip:port)\n");
+                       p->log(3, 0, 0, 0, "         Not Intercepting user (reply string should be intercept=ip:port)\n");
                }
        }
        return PLUGIN_RET_OK;