Kristyna Streitova
1852e18332
- fix compilation for factory add include-linux-if.patch 0001-fix-compilation-warning.patch OBS-URL: https://build.opensuse.org/request/show/327847 OBS-URL: https://build.opensuse.org/package/show/security:netfilter/ebtables?expand=0&rev=37
26 lines
650 B
Diff
26 lines
650 B
Diff
From 146f762e1b4be613fad4b045c67974c000742647 Mon Sep 17 00:00:00 2001
|
|
From: Petri Gynther <petri.gynther@gmail.com>
|
|
Date: Sun, 24 Feb 2013 10:56:59 +0100
|
|
Subject: [PATCH 1/9] fix compilation warning
|
|
|
|
---
|
|
communication.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
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
|
|
--
|
|
2.1.4
|
|
|