diff options
Diffstat (limited to 'net/hub.c')
-rw-r--r-- | net/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -288,7 +288,7 @@ int net_init_hubport(const NetClientOptions *opts, const char *name, assert(opts->type == NET_CLIENT_OPTIONS_KIND_HUBPORT); assert(!peer); - hubport = opts->u.hubport; + hubport = opts->u.hubport.data; net_hub_add_port(hubport->hubid, name); return 0; |