| Summary: | stf manual and kernel mismatch | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | clefevre <clefevre> |
| Component: | Books & Articles | Assignee: | freebsd-doc (Nobody) <doc> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed You were right - in fact the stf support was temporarily hacked into the gif device. However, the manpage was already written for the latter stf device, which was merged from KAME into /sys/net/if_stf.c in early July. Today, it was MFCed to STABLE, and thus, the manpage is correct now :) |
the stf online manual pages says : NAME stf - 6to4 tunnel interface SYNOPSIS pseudo-device stf but this interface seems to be into the gif device driver. # grep -i \"stf\" /usr/src/sys/netinet/* /usr/src/sys/netinet/in_gif.c: if (bcmp(ifp->if_name, "stf", 3) == 0) { /usr/src/sys/netinet/in_gif.c: bcmp(sc->gif_if.if_name, "stf", 3) == 0 && /usr/src/sys/netinet/in_gif.c: if (bcmp(gifp->if_name, "stf", 3) == 0) { Fix: no synopsis or pseudo-device gif instead. How-To-Repeat: add pseudo-device stf to your kernel config then : config CUSTOM Don't forget to do a ``make depend'' Warning: pseudo-device "stf" is unknown