wiz
baacf5e062
Fix fd leak in error case. Found by cppcheck.
2011-01-04 09:14:42 +00:00
wiz
f5bd7d1980
Close fd in error case. Found by cppcheck.
2011-01-04 09:13:22 +00:00
joerg
bfbe4c3572
Use HUGE_VAL instead of INFINITY as positive infinity (or maximum value)
...
is good enough and the side effects of ISO C99 7.12 (4) are not desired.
2010-03-01 00:13:47 +00:00
he
76d4444c78
When using -lcurses, you also need -lterminfo.
...
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
2010-02-06 23:45:24 +00:00
mbalmer
40406154b1
Fix typo in comment.
2010-01-06 06:30:37 +00:00
lukem
7affd6558f
Fix -Wsign-compare issues
2009-04-15 00:13:50 +00:00
joerg
f4bfcdb4ae
Improve markup.
2009-04-08 13:36:32 +00:00
joerg
7ec31b06bd
Fix markup, making it symmetrical between filter6_values and
...
filter_values.
2009-03-15 12:30:09 +00:00
joerg
cba79e0ec4
Add support for source address hashhing in ALTQs WFQ. This allows to
...
easily distribute bandwidth for huge number of clients for incoming
traffic.
2008-09-11 17:58:59 +00:00
lukem
66176dfdff
Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
...
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
xtraeme
7097d2c139
Constify and other misc fixes to make this build with WARNS=4.
2008-05-02 19:07:44 +00:00
plunky
6a6cf05532
fix mdoc warning: remove extraneous .El
2007-04-13 18:17:38 +00:00
wiz
3cdde55f8e
Use more markup, remove superfluous Ns calls.
2006-12-23 08:25:44 +00:00
peter
91c703ae73
Since the -D option doesn't do anything useful at all, remove it.
2006-11-26 11:38:07 +00:00
peter
ba31dc0ca8
- Show statistics immediately, not after a 5 second delay.
...
- For cbq, cdnr, hfsc and priq: if previous stats aren't available yet
then don't show the packet/byte rate.
- Place the count check before the delay and after the stats printing.
This fixes PR #32847
ok tron@
2006-10-28 11:43:02 +00:00
wiz
c7e99862ec
"Millisecond" doesn't have a hyphen. New sentence, new line. PostScript
...
output improvements. Bump date for previous.
2006-10-14 07:39:40 +00:00
peter
dd191f37f3
Merge the peter-altq branch.
...
(sync with KAME & add support for using ALTQ with pf(4)).
2006-10-12 19:59:07 +00:00
christos
e02941da8f
Coverity CID 2714: Fix reversed test (from Arnaud Lacombe)
2006-09-29 18:40:57 +00:00
mrg
084c052803
quell GCC 4.1 uninitialised variable warnings.
...
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
jmmv
582b13f281
Fix typo: inteface -> interface.
2006-03-08 22:47:40 +00:00
peter
f1843b15c3
- add -D to usage
...
- use getprogname()
- sort options (usage, synopsis and description)
- add `Ar conf_file' to -f option (description)
From Kouichirou Hiratsuka in PR/26532.
2005-06-17 12:02:00 +00:00
he
7cc15c3097
Initialize various local variables (clinfo, fltrinfo) to appease
...
-Wuninitialized. Found while compiling for sun2.
Reviewed by lukem.
2005-06-07 13:39:37 +00:00
kleink
bcbb5c6578
Include <sys/time.h> for struct timeval.
2005-05-20 18:01:46 +00:00
lukem
7157011597
Only compile in IPv6 support if ${USE_INET6} != "no"
...
MKINET6 is for providing IPv6 infrastructure.
USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
2005-01-10 02:58:58 +00:00
dsl
238960af7e
Add (unsigned char) cast to ctype function
2004-10-29 19:51:36 +00:00
lukem
b817247988
Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
...
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
lukem
931c212f78
Now that <math.h> #defines INFINITY as HUGE_VALF (the float version)
...
(per C99 7.12 #4 ), we can't define it as HUGE_VAL (the double version).
Instead, just use HUGE_VAL directly.
2003-10-26 08:08:06 +00:00
wiz
7fa3ef5ac1
Quote question mark.
2003-06-27 22:56:37 +00:00
itojun
682aab7791
sscanf overrun
2003-05-17 14:54:53 +00:00
perry
225230174b
Spelling errors (some from Igor Sobrado, PR misc/19909)
...
XXX this needs to be fed back to the altq maintainers, but I don't
know who they are.
XXX This man page needs a lot of cleanup.
2003-03-31 17:21:41 +00:00
wiz
83de4abed2
Use "its" instead of "it's" where appropriate.
...
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
wiz
b7e50f132b
Make '?' work in interactive mode. Fixes PR bin/19949 by Christian Biere.
2003-02-01 17:13:14 +00:00
wiz
7bd6fd354d
unknown, not unkown. Noted by mjl.
2003-01-28 22:19:22 +00:00
christos
4a51bd3d7b
update for struct renaming; noticed by David Laight.
2003-01-06 15:23:11 +00:00
lukem
c52b93f508
minor makefile delint
2002-09-18 13:31:52 +00:00
itojun
2237adde2a
use HUGE_VAL defined in <math.h> instead of 1e500 for positive infinity.
...
gcc -pedantic audit by deraadt@openbsd.org
2002-09-08 09:28:23 +00:00
lukem
ed401558f2
Implement MKDYNAMICROOT, which currently defaults to "no", but will
...
be changed in the future to "yes".
If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).
If MKDYNAMICROOT == "yes", the following changes occur:
in <bsd.own.mk>:
SHLIBDIR?= /lib
SHLINKDIR?= /lib
in various Makefiles, the following entry is DISABLED.
LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
itojun
53ae45711d
fail if the default class is larger than the ctl class.
...
report by Paul Civati <paul@xciv.org>
2002-05-31 06:53:48 +00:00
itojun
69881cf6b8
bring in latest ALTQ from kjc.
2002-03-05 04:11:51 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
wiz
776f7c2e1e
Sort SEE ALSO, fix an xref.
2002-01-19 03:05:35 +00:00
wiz
611cc11bd4
Sort SEE ALSO.
2002-01-19 03:05:00 +00:00
thorpej
d5b972580e
Need <string.h> for strcmp() prototype (noticed by gcc 3.1).
2001-12-31 19:31:23 +00:00
wiz
654780212e
client, not clinet.
2001-12-27 13:22:01 +00:00
lukem
0ab8000335
as this installs in /sbin, set LDSTATIC?=-static. fixes PR [bin/14886]
2001-12-14 00:52:34 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
itojun
d5e1f166e0
sync with latest kame tree. snprintf() return value audit, log() cleanup,
...
and such.
2001-08-22 08:52:35 +00:00
itojun
62856425b4
$NetBSD$
2001-08-16 07:48:08 +00:00
itojun
8b8734d26b
string length audit (use strlcpy). sync with latest kame ALTQ.
2001-08-16 07:45:35 +00:00
itojun
92b62a25f8
avoid inet_addr. use snprintf. recent changes from openbsd-current via kame
2001-08-06 07:00:59 +00:00