summaryrefslogtreecommitdiff
path: root/src/tools/irm/irm_ipcp_destroy.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_destroy.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_destroy.c')
-rw-r--r--src/tools/irm/irm_ipcp_destroy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/irm/irm_ipcp_destroy.c b/src/tools/irm/irm_ipcp_destroy.c
index 6ba7fea5..72e2b2e5 100644
--- a/src/tools/irm/irm_ipcp_destroy.c
+++ b/src/tools/irm/irm_ipcp_destroy.c
@@ -55,10 +55,10 @@ static void usage(void)
int do_destroy_ipcp(int argc,
char ** argv)
{
- char * ipcp = NULL;
- struct ipcp_info * ipcps;
- ssize_t len;
- int i;
+ char * ipcp = NULL;
+ struct ipcp_list_info * ipcps;
+ ssize_t len;
+ int i;
while (argc > 0) {
if (matches(*argv, "name") == 0) {