From fc11528f989aeedff2e290578e1a83341e669b86 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Thu, 10 Jan 2008 13:48:44 +0000 Subject: [PATCH] Fix compile error in --with-iptables-dir code --- ChangeLog | 4 ++++ src/iptables.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 816d775a5c..c48b3d03e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 10 13:48:01 GMT 2008 Mark McLoughlin + + * src/iptables.c: Fix compile error in --with-iptables-dir code + Thu Jan 10 13:46:14 GMT 2008 Mark McLoughlin * src/util.c: change virExec() such that with --enable-debug, diff --git a/src/iptables.c b/src/iptables.c index 26794d2877..34f1cd2188 100644 --- a/src/iptables.c +++ b/src/iptables.c @@ -91,7 +91,7 @@ struct _iptablesContext #ifdef IPTABLES_DIR static int writeRules(const char *path, - const iptRules *rules, + const iptRule *rules, int nrules) { char tmp[PATH_MAX];