Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Maddela <e7appew@gmail.com>2016-06-08 04:50:30 +0300
committerrofl0r <retnyg@gmx.net>2016-06-09 14:09:51 +0300
commit993dfc059d8ded26e7e965eb2be743f7e0c1d7ef (patch)
treea105bc27917bed365c79f9f63a7696a4e59d6e8b
parentf1e5f2ba0153a1d3a9bb3c3dae3925236c58b077 (diff)
Fix trivial compilation warning
Fix "missing braces around initializer" warning.
-rw-r--r--src/ip_type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ip_type.c b/src/ip_type.c
index 8b4e044..cbe4815 100644
--- a/src/ip_type.c
+++ b/src/ip_type.c
@@ -1,5 +1,5 @@
#include "ip_type.h"
const ip_type ip_type_invalid = { .addr.v4.as_int = -1 };
-const ip_type ip_type_localhost = { .addr.v4 = {127, 0, 0, 1} };
+const ip_type ip_type_localhost = { .addr.v4.octet = {127, 0, 0, 1} };