diff options
| author | Roy Marples <roy@marples.name> | 2017-04-22 22:09:08 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-04-23 00:34:29 +0100 |
| commit | 9db242be39938c7a588d733dc15cc3f63d54315d (patch) | |
| tree | 3b94e98d07d8a25ac97ae8139a480832840956dc /src/if.h | |
| parent | 29bd13f43c52fb9b38c9ea4bccd513b9d7e080d9 (diff) | |
| download | dhcpcd-9db242be39938c7a588d733dc15cc3f63d54315d.tar.xz | |
Detect VLANID to use in IAID.
Summary:
This only works if the VLAN interface has already been setup prior
to starting dhcpcd.
Initial fix for T115.
Test Plan:
Configure a vlan interface.
Don't set any iaid in /etc/dhcpcd.conf.
Start dhcpcd, check VLANID is used for IAID.
Reviewers: sthen
Reviewed By: sthen
Tags: #dhcpcd
Differential Revision: https://dev.marples.name/D107
Diffstat (limited to 'src/if.h')
| -rw-r--r-- | src/if.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -141,6 +141,7 @@ int if_conf(struct interface *); int if_init(struct interface *); int if_getssid(struct interface *); int if_vimaster(const struct dhcpcd_ctx *ctx, const char *); +unsigned short if_vlanid(const struct interface *); int if_opensockets(struct dhcpcd_ctx *); int if_opensockets_os(struct dhcpcd_ctx *); void if_closesockets(struct dhcpcd_ctx *); |
