Fix trivial compilation warning

Fix "missing braces around initializer" warning.
pull/126/head
Carlos Maddela 2016-06-08 11:50:30 +10:00 committed by rofl0r
parent f1e5f2ba01
commit 993dfc059d
1 changed files with 1 additions and 1 deletions

View File

@ -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} };