summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_ipcp_list.c
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2023-11-27 14:43:09 +0100
committerSander Vrijders <[email protected]>2023-11-29 09:57:29 +0100
commitc1d679506180bc23241fe14818c0a2dbbcbe3cef (patch)
treeaf8cd0304b7fc812270a37fd751c503e43331b0a /src/tools/irm/irm_ipcp_list.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 <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/tools/irm/irm_ipcp_list.c')
-rw-r--r--src/tools/irm/irm_ipcp_list.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/irm/irm_ipcp_list.c b/src/tools/irm/irm_ipcp_list.c
index cc261f1e..5581cef6 100644
--- a/src/tools/irm/irm_ipcp_list.c
+++ b/src/tools/irm/irm_ipcp_list.c
@@ -86,12 +86,12 @@ static char * str_type(enum ipcp_type type)
int do_list_ipcp(int argc,
char ** argv)
{
- char * ipcp_type = NULL;
- char * ipcp_name = NULL;
- enum ipcp_type type = -1;
- struct ipcp_info * ipcps;
- ssize_t len;
- ssize_t i;
+ char * ipcp_type = NULL;
+ char * ipcp_name = NULL;
+ enum ipcp_type type = -1;
+ struct ipcp_list_info * ipcps;
+ ssize_t len;
+ ssize_t i;
while (argc > 0) {
if (matches(*argv, "type") == 0) {