summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Gynther <petri.gynther@gmail.com>2013-02-24 10:56:59 +0100
committerBart De Schuymer <bdschuym@pandora.be>2013-02-24 10:56:59 +0100
commit146f762e1b4be613fad4b045c67974c000742647 (patch)
treef57fdad2b6ac913ffd077bcdd0650dfed41128e3
parent3af64300af5f375d311061070d582fe9af5ad859 (diff)
downloadebtables-146f762e1b4be613fad4b045c67974c000742647.tar.gz
ebtables-146f762e1b4be613fad4b045c67974c000742647.tar.bz2
ebtables-146f762e1b4be613fad4b045c67974c000742647.zip
fix compilation warning
-rw-r--r--communication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/communication.c b/communication.c
index 62ed667..ba058c0 100644
--- a/communication.c
+++ b/communication.c
@@ -282,7 +282,7 @@ static int store_counters_in_file(char *filename, struct ebt_u_replace *repl)
}
close_file:
fclose(file);
- return 0;
+ return ret;
}
/* Gets executed after ebt_deliver_table. Delivers the counters to the kernel