diff options
| author | Roy Marples <roy@marples.name> | 2008-09-02 15:25:14 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-09-02 15:25:14 +0000 |
| commit | ccf0a5f559a4cbe55e44b43861f02e73801b33cc (patch) | |
| tree | d4b8f3ae1bb3d09cf090171fdae4292c680c850d /net.c | |
| parent | 274abdf80bea6fb6babb3511ed4ee226ce18b8d2 (diff) | |
| download | dhcpcd-ccf0a5f559a4cbe55e44b43861f02e73801b33cc.tar.xz | |
Fix compile and wireless test on FreeBSD.
Diffstat (limited to 'net.c')
| -rw-r--r-- | net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ init_interface(const char *ifname) strlcpy(ireq.i_name, ifname, sizeof(ireq.i_name)); ireq.i_type = IEEE80211_IOC_NUMSSIDS; ireq.i_val = 3; - if ((x = ioctl(s, SIOCG80211, &ireq)) != -1) + if (ioctl(s, SIOCG80211, &ireq) != -1) iface->metric += 100; #endif |
