diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2023-11-27 14:43:09 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2023-11-29 09:57:29 +0100 |
commit | c1d679506180bc23241fe14818c0a2dbbcbe3cef (patch) | |
tree | af8cd0304b7fc812270a37fd751c503e43331b0a /src/tools/irm/irm_ipcp_disconnect.c | |
parent | 7d7228fa0f9b5593fead5cfcb10bfc5bfaad4d08 (diff) | |
download | ouroboros-c1d679506180bc23241fe14818c0a2dbbcbe3cef.tar.gz ouroboros-c1d679506180bc23241fe14818c0a2dbbcbe3cef.zip |
lib: Rename ipcp_info to ipcp_list_info
The ipcp_info struct / message contains information only used for
listing IPCPs, and I will reuse the ipcp_info name for general IPCP
information common to all IPCPs such as name and type.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/tools/irm/irm_ipcp_disconnect.c')
-rw-r--r-- | src/tools/irm/irm_ipcp_disconnect.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tools/irm/irm_ipcp_disconnect.c b/src/tools/irm/irm_ipcp_disconnect.c index f82f884b..c591a9fe 100644 --- a/src/tools/irm/irm_ipcp_disconnect.c +++ b/src/tools/irm/irm_ipcp_disconnect.c @@ -60,14 +60,14 @@ static void usage(void) int do_disconnect_ipcp(int argc, char ** argv) { - char * ipcp = NULL; - char * dst = NULL; - char * comp = "*"; - char * component = NULL; - struct ipcp_info * ipcps; - ssize_t len = 0; - pid_t pid = -1; - ssize_t i; + char * ipcp = NULL; + char * dst = NULL; + char * comp = "*"; + char * component = NULL; + struct ipcp_list_info * ipcps; + ssize_t len = 0; + pid_t pid = -1; + ssize_t i; while (argc > 0) { if (matches(*argv, "name") == 0) { |