summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_name_unreg.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2023-11-27 14:43:09 +0100
committerSander Vrijders <sander@ouroboros.rocks>2023-11-29 09:57:29 +0100
commitc1d679506180bc23241fe14818c0a2dbbcbe3cef (patch)
treeaf8cd0304b7fc812270a37fd751c503e43331b0a /src/tools/irm/irm_name_unreg.c
parent7d7228fa0f9b5593fead5cfcb10bfc5bfaad4d08 (diff)
downloadouroboros-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_name_unreg.c')
-rw-r--r--src/tools/irm/irm_name_unreg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tools/irm/irm_name_unreg.c b/src/tools/irm/irm_name_unreg.c
index 568528e8..6b7771b4 100644
--- a/src/tools/irm/irm_name_unreg.c
+++ b/src/tools/irm/irm_name_unreg.c
@@ -63,14 +63,14 @@ static void usage(void)
int do_unreg_name(int argc,
char ** argv)
{
- char * name = NULL;
- char * layers[MAX_LAYERS];
- size_t layers_len = 0;
- char * ipcp[MAX_IPCPS];
- size_t ipcp_len = 0;
- struct ipcp_info * ipcps;
- ssize_t len;
- size_t i;
+ char * name = NULL;
+ char * layers[MAX_LAYERS];
+ size_t layers_len = 0;
+ char * ipcp[MAX_IPCPS];
+ size_t ipcp_len = 0;
+ struct ipcp_list_info * ipcps;
+ ssize_t len;
+ size_t i;
name = *(argv++);
--argc;