summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-11-25 15:35:30 +0000
committerMartin Mares <mj@ucw.cz>1999-11-25 15:35:30 +0000
commitae97b946e99bef043613d210489a926fe4807ec1 (patch)
tree6e8d2e4cd898dd67ef44e7bb851156039f681bbe /nest/proto.c
parent35793769273f7286aafa0455547d1d7cfeef3931 (diff)
Added few basic commands: show status, show interfaces [summary],
show protocols (incomplete).
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 3430176f..32e0b3be 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -18,6 +18,7 @@
#include "conf/conf.h"
#include "nest/route.h"
#include "nest/iface.h"
+#include "nest/cli.h"
#include "filter/filter.h"
static pool *proto_pool;
@@ -420,3 +421,11 @@ proto_flush_all(void *unused)
}
return 0;
}
+
+void
+proto_show(struct symbol *s)
+{
+ cli_msg(-1002, "");
+ cli_msg(-2002, "");
+ cli_msg(0, "");
+}