projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add result/error codes to StopCCN
[l2tpns.git]
/
snoopctl.c
diff --git
a/snoopctl.c
b/snoopctl.c
index
7c49e86
..
8afcbe1
100644
(file)
--- a/
snoopctl.c
+++ b/
snoopctl.c
@@
-5,7
+5,7
@@
/* snoop control */
/* snoop control */
-char const *cvs_id = "$Id: snoopctl.c,v 1.
3 2004/11/18 06:41:0
3 bodea Exp $";
+char const *cvs_id = "$Id: snoopctl.c,v 1.
4 2004/12/16 08:49:5
3 bodea Exp $";
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *p = 0;
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *p = 0;
@@
-77,8
+77,8
@@
int plugin_control(struct param_control *data)
if (flag)
{
if (flag)
{
- i
p
t ip = inet_addr(data->argv[2]);
- u
16
port = atoi(data->argv[3]);
+ i
n_addr_
t ip = inet_addr(data->argv[2]);
+ u
int16_t
port = atoi(data->argv[3]);
if (!ip || ip == INADDR_NONE)
{
if (!ip || ip == INADDR_NONE)
{