diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-14 13:11:04 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-14 13:11:04 +0200 |
commit | f43242886cae3daf0474134175707cbc02c05191 (patch) | |
tree | e7daa375b02cc9408e6d53bfb21de9484488a380 /src/udev/udevd.c | |
parent | c5974b33e7fa3b777e72181d0fc0d1d22fdab2cd (diff) |
nss-myhostname: use LOOPBACK_IFINDEX instead of if_nametoindex("lo")
Given that we already hardocde the loopback ifindex, following the
kernel's own logic, we can replace the invocation of
if_nametoindex("lo") with LOOPBACK_IFINDEX.
Diffstat (limited to 'src/udev/udevd.c')
0 files changed, 0 insertions, 0 deletions