summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e75f137)
raw | patch | inline | side by side (parent: e75f137)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 26 Sep 2009 08:48:50 +0000 (10:48 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 26 Sep 2009 08:48:50 +0000 (10:48 +0200) |
Thanks to Sven Trenkel for noticing.
src/owniptc/libiptc.c | patch | blob | history |
diff --git a/src/owniptc/libiptc.c b/src/owniptc/libiptc.c
index f7a6640fffe09b398a2de9a54d21cc9f250b3e33..5e5fde083cdbed549fa5fe439e8f9dc49b810700 100644 (file)
--- a/src/owniptc/libiptc.c
+++ b/src/owniptc/libiptc.c
}
/* How many rules in this chain? */
+#if 0
static unsigned int
TC_NUM_RULES(const char *chain, TC_HANDLE_T *handle)
{
return c->num_rules;
}
+#endif
+#if 0
static const STRUCT_ENTRY *
TC_GET_RULE(const char *chain, unsigned int n, TC_HANDLE_T *handle)
{
return NULL;
return r->entry;
}
+#endif
/* Returns a pointer to the target name of this position. */
static const char *standard_target_map(int verdict)