Commit 99f1ac5f authored by Dafydd Harries's avatar Dafydd Harries

address_new_ipv4: set address type

parent 55a51e23
......@@ -20,6 +20,7 @@ address_new_ipv4 (guint32 addr_ipv4)
Address *addr;
addr = g_slice_new0 (Address);
addr->type = ADDRESS_TYPE_IPV4;
addr->addr_ipv4 = addr_ipv4;
return addr;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment