diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-08-01 09:43:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 09:43:41 +0200 |
commit | f19ca6105e9f74b01e799d02c280eec67696c228 (patch) | |
tree | a2b530b2c214dd24a022c175474aca4251cea952 /src/nss-myhostname | |
parent | core: check which MACs to use before a new mount ns is created (#6498) (diff) | |
parent | resolved: add debug message about stub listener (diff) | |
download | systemd-f19ca6105e9f74b01e799d02c280eec67696c228.tar.xz systemd-f19ca6105e9f74b01e799d02c280eec67696c228.zip |
Merge pull request #6420 from keszybz/gateway-name
Rename "gateway" to "_gateway" and other resolved changes
Diffstat (limited to 'src/nss-myhostname')
-rw-r--r-- | src/nss-myhostname/nss-myhostname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nss-myhostname/nss-myhostname.c b/src/nss-myhostname/nss-myhostname.c index 869d233d49..1f27e06e6f 100644 --- a/src/nss-myhostname/nss-myhostname.c +++ b/src/nss-myhostname/nss-myhostname.c @@ -86,7 +86,7 @@ enum nss_status _nss_myhostname_gethostbyname4_r( return NSS_STATUS_NOTFOUND; } - canonical = "gateway"; + canonical = "_gateway"; } else { hn = gethostname_malloc(); @@ -356,7 +356,7 @@ enum nss_status _nss_myhostname_gethostbyname3_r( return NSS_STATUS_NOTFOUND; } - canonical = "gateway"; + canonical = "_gateway"; } else { hn = gethostname_malloc(); @@ -467,7 +467,7 @@ enum nss_status _nss_myhostname_gethostbyaddr2_r( continue; if (memcmp(addr, &a->address, FAMILY_ADDRESS_SIZE(af)) == 0) { - canonical = "gateway"; + canonical = "_gateway"; goto found; } } |