wmifinfo: bump to version 0.8.

This commit is contained in:
Doug Torrance 2014-07-28 22:51:00 -05:00 committed by Carlos R. Mafra
parent f938426084
commit c2861235bc
4 changed files with 13 additions and 6 deletions

View file

@ -44,3 +44,8 @@
- On request of Jesper Anderson <jesper at pobox dot com>, wmifinfo - On request of Jesper Anderson <jesper at pobox dot com>, wmifinfo
now always switches to new interfaces when they become available; now always switches to new interfaces when they become available;
handy for new established PPP links or inserted PCMCIA cards handy for new established PPP links or inserted PCMCIA cards
0.08 Bugfix
- Bugfix from Hugo Haas that fixes NWN link quality

View file

@ -9,7 +9,7 @@ ENABLE_NWN_SUPPORT=n
# Nothing to configure under here # Nothing to configure under here
NAME=wmifinfo NAME=wmifinfo
VERSION=0.07 VERSION=0.08
CC = gcc CC = gcc
LD = gcc LD = gcc
@ -34,7 +34,7 @@ $(BIN): $(FILES)
$(LD) -o $@ $(FILES) $(LDOPTS) $(LD) -o $@ $(FILES) $(LDOPTS)
clean: clean:
rm -f *.o $(BIN) core rm -f *.o $(BIN) core ./.#* *.orig *.rej
install: install:
cp $(BIN) $(BINDIR) cp $(BIN) $(BINDIR)

View file

@ -38,7 +38,7 @@ DESCRIPTION
INSTALLING INSTALLING
- If you have a NoWiresNeeded 1148 or Swallo NIC, set ENABLE_NWN_SUPPORT - If you have a NoWiresNeeded 1148 or Swallow NIC, set ENABLE_NWN_SUPPORT
to 'y' in the makefile to enable wlan signal indication for this type of to 'y' in the makefile to enable wlan signal indication for this type of
network adapter. network adapter.
@ -76,7 +76,7 @@ THANKS
COPYRIGHT COPYRIGHT
Copyright (c) 2002 Ico Doornekamp <ico@pruts.nl> Copyright (c) 2004 Ico Doornekamp <ico@pruts.nl>
This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the under the terms of the GNU General Public License as published by the

View file

@ -1,5 +1,5 @@
/* /*
* $Id: wmifinfo.c,v 1.3 2004/03/03 18:29:50 ico Exp $ * $Id: wmifinfo.c,v 1.4 2004/07/11 12:00:46 ico Exp $
*/ */
#include <stdio.h> #include <stdio.h>
@ -582,7 +582,9 @@ int getifinfo(char *ifname, struct ifinfo_t *info)
} }
#ifdef ENABLE_NWN_SUPPORT #ifdef ENABLE_NWN_SUPPORT
info->sl = nwn_get_link(parent); if (info->sl == 0) {
info->sl = nwn_get_link(parent);
}
#endif #endif
#elif defined(__OpenBSD__) #elif defined(__OpenBSD__)
{ {