diff options
author | luigi <luigi@FreeBSD.org> | 2009-01-27 12:24:53 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2009-01-27 12:24:53 +0000 |
commit | 66a879082d57194a36c70600d6cc8a3c18040509 (patch) | |
tree | b2a1d306b09d695546f1d957de209921ce79661d /sbin/ipfw | |
parent | 8a3b5c8587eefdf155a589610647bbc582948ce7 (diff) | |
download | FreeBSD-src-66a879082d57194a36c70600d6cc8a3c18040509.zip FreeBSD-src-66a879082d57194a36c70600d6cc8a3c18040509.tar.gz |
fix wrong variable usage...
Diffstat (limited to 'sbin/ipfw')
-rw-r--r-- | sbin/ipfw/dummynet.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/ipfw/dummynet.c b/sbin/ipfw/dummynet.c index 32fee7d..88dc33e 100644 --- a/sbin/ipfw/dummynet.c +++ b/sbin/ipfw/dummynet.c @@ -326,10 +326,9 @@ ipfw_list_pipes(void *data, uint nbytes, int ac, char *av[]) * Delete pipe or queue i */ int -ipfw_delete_pipe(int pipe_or_queue, int n) +ipfw_delete_pipe(int pipe_or_queue, int i) { struct dn_pipe p; - int i; memset(&p, 0, sizeof p); if (pipe_or_queue == 1) |