diff options
Diffstat (limited to 'net/hub.c')
| -rw-r--r-- | net/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/hub.c b/net/hub.c index b6d44fd75b..6d90c6ee67 100644 --- a/net/hub.c +++ b/net/hub.c @@ -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; |