summaryrefslogtreecommitdiff
path: root/shell-completion
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-14 13:11:04 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-14 13:11:04 +0200
commitf43242886cae3daf0474134175707cbc02c05191 (patch)
treee7daa375b02cc9408e6d53bfb21de9484488a380 /shell-completion
parentc5974b33e7fa3b777e72181d0fc0d1d22fdab2cd (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 'shell-completion')
0 files changed, 0 insertions, 0 deletions