diff options
author | Carlos Maddela <e7appew@gmail.com> | 2016-06-08 04:50:30 +0300 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2016-06-09 14:09:51 +0300 |
commit | 993dfc059d8ded26e7e965eb2be743f7e0c1d7ef (patch) | |
tree | a105bc27917bed365c79f9f63a7696a4e59d6e8b | |
parent | f1e5f2ba0153a1d3a9bb3c3dae3925236c58b077 (diff) |
Fix trivial compilation warning
Fix "missing braces around initializer" warning.
-rw-r--r-- | src/ip_type.c | 2 |
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} }; |