aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipfw/dummynet.c
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2009-01-27 12:24:53 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2009-01-27 12:24:53 +0000
commitb361cf5805c46c3d2f50e06f42ae732d6bd3351f (patch)
treeb2a1d306b09d695546f1d957de209921ce79661d /sbin/ipfw/dummynet.c
parentead75a59f14b386bb296a681568c221fecc2ff15 (diff)
downloadsrc-b361cf5805c46c3d2f50e06f42ae732d6bd3351f.tar.gz
src-b361cf5805c46c3d2f50e06f42ae732d6bd3351f.zip
fix wrong variable usage...
Notes
Notes: svn path=/head/; revision=187771
Diffstat (limited to 'sbin/ipfw/dummynet.c')
-rw-r--r--sbin/ipfw/dummynet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/ipfw/dummynet.c b/sbin/ipfw/dummynet.c
index 32fee7d7828d..88dc33e82ab3 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)