From aec15566c7a9b50127fb40fbf5ae9c66b1bbf018 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 3 Jul 2000 13:34:18 +0000 Subject: Experiemntal ascii based device configuration mechanism. This may or may not survive, decision will be made well before 5.0-R --- sys/netgraph/ng_base.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'sys/netgraph/ng_base.c') diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index 1c0d80e..00ba31a 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -267,6 +267,13 @@ static const struct ng_cmdlist ng_generic_cmds[] = { }, { NGM_GENERIC_COOKIE, + NGM_TEXT_CONFIG, + "textconfig", + NULL, + &ng_parse_string_type + }, + { + NGM_GENERIC_COOKIE, NGM_TEXT_STATUS, "textstatus", NULL, @@ -1589,6 +1596,7 @@ ng_generic_msg(node_p here, struct ng_mesg *msg, const char *retaddr, break; } + case NGM_TEXT_CONFIG: case NGM_TEXT_STATUS: /* * This one is tricky as it passes the command down to the -- cgit v1.1