summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2022-05-25 14:12:23 -0400
committerJens Georg <mail@jensge.org>2022-05-25 18:33:36 +0000
commit3b11017c0413c92c877a691a4bd402b975f2dcf9 (patch)
tree1fcd927ee99409c89e84b2c67efed459a07f2b67
parent28aafb1e26ea5e45a6320e257c5b1f3f36d768a5 (diff)
downloadgssdp-3b11017c0413c92c877a691a4bd402b975f2dcf9.tar.gz
socket-source: Allow interface index up to MAXINT
I couldn't find anything that would prevent the ifindex to be above MAXINT16 and it seems the CI systems have higher one sometimes. Hopefully this should fix https://gitlab.gnome.org/GNOME/gupnp-igd/-/jobs/2021422
-rw-r--r--libgssdp/gssdp-socket-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgssdp/gssdp-socket-source.c b/libgssdp/gssdp-socket-source.c
index 6cb0a66..b3c8b70 100644
--- a/libgssdp/gssdp-socket-source.c
+++ b/libgssdp/gssdp-socket-source.c
@@ -518,7 +518,7 @@ gssdp_socket_source_class_init (GSSDPSocketSourceClass *klass)
("index",
"Interface index",
"Interface index of the network device",
- -1, G_MAXUINT16,
+ -1, G_MAXINT,
-1,
G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY |
G_PARAM_STATIC_STRINGS));