Giles Lean <giles@nemeton.com.au> on the tech-net@NetBSD.ORG mailing
list. The rationale for this is that folks may be used to rdisc(8)
or in.rdisc(8) on other systems, and may not realize that NetBSD
implements ICMP Router Discovery in the routed(8) program.
- Add some prototypes and definitions for types as necessary,
wrapped in __NetBSD__ to maintain portability.
- Explicit size types in structures that go out the wire.
- RCS id police.
afswitch and af_max were still used, but since they was declared 'common'
by virtue of their declaration in af.h, the symbols were defined at link-
time, and their contents were considered BSS -- init to zero.
Now, you and i know that jumping to zero causes a core dump...
Therefore: af.c has been resurrected, so the procedure pointers actually
point to procedures, tables.c has had it's change nuked, and af.h
has been changed so afswitch and af_max are declared as 'extern'.
It's obvious that that 'fix' wasn't even tested.