Packets sent to localhost don't go over any hops so the ttl shown will be the starting value.
Windows 10
C:\>ping -4 localhost Pinging Win10Main [127.0.0.1] with 32 bytes of data:Reply from 127.0.0.1: bytes=32 time<1ms TTL=128....
OpenWrt 15.05
root@OpenWrt:~# ping localhostPING localhost (127.0.0.1): 56 data bytes64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.283 ms...