HomeFreeBSD

[traceroute6] Don't do the casper bits when we're not doing casper

Description

[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

Details

Provenance
adrianAuthored on
Reviewer
emaste
Differential Revision
D26773: [traceroute6] Fix compilation warnings + without casper
Parents
rS366689: Fix sbuf_finish() error code check in user-space.
Branches
Unknown
Tags
Unknown