GIT.Harvie.CZ
/
svn
/
Prometheus-QoS
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
really dumbe string pointer error
[svn/Prometheus-QoS/.git]
/
prometheus.c
diff --git
a/prometheus.c
b/prometheus.c
index 267070fae0c1498b2fb20143c620e3731c47f8e8..7adff3cc6b493b5b9481a6284af7b6265e799b7d 100644
(file)
--- a/
prometheus.c
+++ b/
prometheus.c
@@
-1291,7
+1291,7
@@
Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version);
interface->name, limit_pkts);
\r
iptables_save_line(str, ip->v6);
\r
\r
- if(
limit_pkts)
\r
+ if(
*limit_pkts) /* non-empty string?*/
\r
{
\r
/* classify overlimit packets to separate overlimit class */
\r
sprintf(str, "-A %s -%c %s/%d -o %s -j %s%d",
\r
This page took
0.094822 seconds
and
4
git commands to generate.