]> git.ipfire.org Git - thirdparty/unbound.git/commit
Add AF_NETLINK to set of allowed socket address families 351/head
authorDavid Runge <dave@sleepmap.de>
Sat, 21 Nov 2020 13:10:39 +0000 (14:10 +0100)
committerDavid Runge <dave@sleepmap.de>
Sat, 21 Nov 2020 13:10:39 +0000 (14:10 +0100)
commitc48f01445e22686a0cb83451ab055cb405940b58
tree1dc82398c80f52553b9269e40ee266d82d887f4d
parentb891fe113ca9d9a2a19552531d8e91b8dcf02164
Add AF_NETLINK to set of allowed socket address families

contrib/unbound{,_portable}.service.in:
With the changes introduced in f6a527c25ad2e60e2dc129fff3605e6ec48c30f2
it is now necessary to also allow access to the AF_NETLINK socket
address family to be able to get information from interfaces.

Without the AF_NETLINK address family the systemd service errors with:

```
error: failed to list interfaces: getifaddrs: Address family not
supported by protocol
```

Fixes #350
contrib/unbound.service.in
contrib/unbound_portable.service.in