diff options
author | Jens Georg <mail@jensge.org> | 2022-06-20 00:04:12 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2022-06-22 19:55:48 +0200 |
commit | 39c0651d99731873bf9c4f51c3cb3879d9fb7b95 (patch) | |
tree | f262865ee19ae38e671db40e59fae95eef8db00a /libgupnp | |
parent | 300ab20af085b992a43775f53e2cdb46c19a547f (diff) | |
download | gupnp-39c0651d99731873bf9c4f51c3cb3879d9fb7b95.tar.gz |
SimpleContextManager: Pass on address family
Part of #10
Diffstat (limited to 'libgupnp')
-rw-r--r-- | libgupnp/gupnp-simple-context-manager.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libgupnp/gupnp-simple-context-manager.c b/libgupnp/gupnp-simple-context-manager.c index 6e4cd3a..895cc17 100644 --- a/libgupnp/gupnp-simple-context-manager.c +++ b/libgupnp/gupnp-simple-context-manager.c @@ -65,8 +65,14 @@ create_and_signal_context (const char *interface, context = g_initable_new (GUPNP_TYPE_CONTEXT, NULL, &error, - "interface", interface, - "port", port, + "interface", + interface, + "port", + port, + "address-family", + gupnp_context_manager_get_socket_family ( + GUPNP_CONTEXT_MANAGER (manager)), + NULL); if (error != NULL) { if (!(error->domain == GSSDP_ERROR && |