summaryrefslogtreecommitdiffstats
path: root/src/shared/varlink-io.systemd.Resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/varlink-io.systemd.Resolve.c')
-rw-r--r--src/shared/varlink-io.systemd.Resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/varlink-io.systemd.Resolve.c b/src/shared/varlink-io.systemd.Resolve.c
index a6c501ab01..71f4dc84c0 100644
--- a/src/shared/varlink-io.systemd.Resolve.c
+++ b/src/shared/varlink-io.systemd.Resolve.c
@@ -129,7 +129,7 @@ static VARLINK_DEFINE_METHOD(
static VARLINK_DEFINE_STRUCT_TYPE(
ResolvedRecord,
- VARLINK_DEFINE_FIELD(ifindex, VARLINK_INT, 0),
+ VARLINK_DEFINE_FIELD(ifindex, VARLINK_INT, VARLINK_NULLABLE),
VARLINK_DEFINE_FIELD_BY_TYPE(rr, ResourceRecord, VARLINK_NULLABLE),
VARLINK_DEFINE_FIELD(raw, VARLINK_STRING, 0));