when using tunnelttl, let -1 mean "copy the ttl from the inner traffic".
authordlg <dlg@openbsd.org>
Thu, 8 Feb 2018 21:54:55 +0000 (21:54 +0000)
committerdlg <dlg@openbsd.org>
Thu, 8 Feb 2018 21:54:55 +0000 (21:54 +0000)
commit53863d828bc6c94879ce01b4576e86b4653ed0b9
tree3f35908e3238de88eea0cf82222a11250a6cff9d
parent1b9a1fc74dbce0b9d6bd1421ed62d00186af9b15
when using tunnelttl, let -1 mean "copy the ttl from the inner traffic".

tunnelttl now accepts "copy" as an argument, and prints "copy" when
it sees -1.

ok claudio@
sbin/ifconfig/ifconfig.c