chiark / gitweb /
nss-myhostname: always resolve the host name "gateway" to the local default gateway
authorLennart Poettering <lennart@poettering.net>
Wed, 3 Dec 2014 20:42:58 +0000 (21:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 3 Dec 2014 20:48:45 +0000 (21:48 +0100)
commite9140aff750e4f251f5f09b67412fed995fe9c47
tree30f2c292e0154cfee8ce91bdf2c47674030255e9
parent144232a8e0ea77eed8c5a456832758681b5b3511
nss-myhostname: always resolve the host name "gateway" to the local default gateway

This is useful inside of containers or local networks to intrdouce a
stable name of the default gateway host (in case of containers usually
the host, in case of LANs usually local router).
.gitignore
Makefile.am
src/libsystemd/sd-rtnl/local-addresses.c
src/libsystemd/sd-rtnl/local-addresses.h
src/libsystemd/sd-rtnl/rtnl-message.c
src/libsystemd/sd-rtnl/test-local-addresses.c [new file with mode: 0644]
src/nss-myhostname/nss-myhostname.c
src/systemd/sd-rtnl.h