summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_base.c')
-rw-r--r--sys/netgraph/ng_base.c8
1 files changed, 8 insertions, 0 deletions
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
OpenPOWER on IntegriCloud