]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[traceroute6] Don't do the casper bits when we're not doing casper
authoradrian <adrian@FreeBSD.org>
Wed, 14 Oct 2020 00:01:17 +0000 (00:01 +0000)
committeradrian <adrian@FreeBSD.org>
Wed, 14 Oct 2020 00:01:17 +0000 (00:01 +0000)
commite472cf036c44eed785740cc3ba7f70d0eae5b270
tree80a4a1c89a84e276870aafda1b6b3cc39218bc99
parenta2edf85a4eb6558b0fcb56df9b5f7a1d28451ad9
[traceroute6] Don't do the casper bits when we're not doing casper

This with the previous patch I committed makes traceroute6/traceroute
compile fine when libcasper isn't enabled.

This complains strongly with unused variables and such when compiled
with gcc-6 on mips32.

Tested:

* compiled/run on mips32 hardware (AR9344)

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D26773
usr.sbin/traceroute6/traceroute6.c