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
commit12bfce30881688fab50c31df40df7fd651ba6ec7 (patch)
tree68e364185053fb3373cf1c0e405b27bafdeb6581 /src/if.h
parentcfe9aebe35ca86ca02d91e576ba8d5befca89074 (diff)
downloaddhcpcd-12bfce30881688fab50c31df40df7fd651ba6ec7.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 *);