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 /dhcpcd.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 'dhcpcd.c')
| -rw-r--r-- | dhcpcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -790,7 +790,7 @@ dhcpcd_handlecarrier(struct dhcpcd_ctx *ctx, int carrier, unsigned int flags, dhcpcd_handleinterface(ctx, 0, ifp->name); #endif if (ifp->wireless) { - uint8_t ossid[IF_SSIDSIZE]; + uint8_t ossid[IF_SSIDLEN]; #ifdef NOCARRIER_PRESERVE_IP size_t olen; |
