summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-02-15 01:50:31 +0000
committerRoy Marples <roy@marples.name>2020-02-15 01:51:57 +0000
commitfac4a27e2f0c46b16db4fbf0e15f4c867cc533f4 (patch)
tree68e364185053fb3373cf1c0e405b27bafdeb6581 /src/if.h
parentf39a6f9e63d124a664a27fa56e9e2bf45667c3a6 (diff)
downloaddhcpcd-fac4a27e2f0c46b16db4fbf0e15f4c867cc533f4.tar.xz
if: Decode vlid from the interface name
This just clarifies the former fix
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if.h b/src/if.h
index bac109d6..df1cb92c 100644
--- a/src/if.h
+++ b/src/if.h
@@ -161,6 +161,7 @@ struct if_spec {
char devname[IF_NAMESIZE];
char drvname[IF_NAMESIZE];
int ppa;
+ int vlid;
int lun;
};
int if_nametospec(const char *, struct if_spec *);