diff options
| author | Roy Marples <roy@marples.name> | 2016-02-11 16:06:26 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-02-11 16:06:26 +0000 |
| commit | f5afdbdb72e50ae5f915360f812a44f0c0b76df6 (patch) | |
| tree | eba82fea8183f74b7de83664f0bef763d99ab108 /if.c | |
| parent | a0bc96edb9c3cf921018abfbbd5904664915c234 (diff) | |
| download | dhcpcd-f5afdbdb72e50ae5f915360f812a44f0c0b76df6.tar.xz | |
Change IF_SSIDSIZE to IF_SSIDLEN to be more clear about it.
Store an extra char for a NULL terminator solely for debubgging purposes.
A better fix for [be2bbe6e37].
Diffstat (limited to 'if.c')
| -rw-r--r-- | if.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -525,6 +525,7 @@ if_discover(struct dhcpcd_ctx *ctx, int argc, char * const *argv) strlcpy(ifr.ifr_name, ifp->name, sizeof(ifr.ifr_name)); if (ioctl(ctx->pf_inet_fd, SIOCGIFPRIORITY, &ifr) == 0) ifp->metric = (unsigned int)ifr.ifr_metric; + if_getssid(ifp); #else /* We reserve the 100 range for virtual interfaces, if and when * we can work them out. */ |
