diff options
Diffstat (limited to 'ui/cli/tap-bootpstat.c')
-rw-r--r-- | ui/cli/tap-bootpstat.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ui/cli/tap-bootpstat.c b/ui/cli/tap-bootpstat.c index 6ec66b399d..7dc578ff95 100644 --- a/ui/cli/tap-bootpstat.c +++ b/ui/cli/tap-bootpstat.c @@ -174,12 +174,20 @@ dhcpstat_init(const char *opt_arg, void *userdata _U_) } } - +static tap_ui dhcpstat_ui = { + REGISTER_STAT_GROUP_GENERIC, + NULL, + "bootp,stat,", + dhcpstat_init, + -1, + 0, + NULL +}; void register_tap_listener_gtkdhcpstat(void) { - register_stat_cmd_arg("bootp,stat,", dhcpstat_init, NULL); + register_tap_ui(&dhcpstat_ui, NULL); } /* |