From ae97b946e99bef043613d210489a926fe4807ec1 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 25 Nov 1999 15:35:30 +0000 Subject: Added few basic commands: show status, show interfaces [summary], show protocols (incomplete). --- nest/proto.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nest/proto.c') diff --git a/nest/proto.c b/nest/proto.c index 3430176..32e0b3b 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, ""); +} -- cgit v1.2.3