]> git.ipfire.org Git - thirdparty/lldpd.git/commit
client: translate dot into the short hostname
authorGeorg Sauthoff <mail@gms.tf>
Fri, 24 Nov 2023 19:06:06 +0000 (20:06 +0100)
committerVincent Bernat <vincent@bernat.ch>
Fri, 24 Nov 2023 22:14:06 +0000 (23:14 +0100)
commitb8955080cb5ff8e24479cc6638d420ca9c0d9817
treeb9258d6c363c233d6b48140a7245779b7085da8a
parent17fc7418302eb21db8d90fe7cb47ed80be63d434
client: translate dot into the short hostname

as documented in lldpcli(8):

    configure system hostname name

        Override system hostname with the provided value. By default, the
        system name is the FQDN found from the resolved value of uname
        -n.  As a special value, use "." (dot) to use the short hostname
        instead of a FQDN.
src/client/conf-system.c