
86 Chapter 1—IPv6 Unicast Routing Protocols
information; or, the packet may be received on an interface on which no IPv6 address is
configured, although this is a very unlikely scenario. In either case, riprequest() is
called to generate and transmit a RIPng response.
Response Validation
The rest of this function processes a RIPng response message.
Listing 1-33
route6d.c
1150 if (!IN6_IS_ADDR_LINKLOCAL(&fsock.sin6_addr)) {
1151 trace(1, "Packets from non-ll addr: %s\n",
1152 inet6_n2p(&fsock.sin6_addr));
1153 return; /* Ignore packets from non-link-local addr */
1154 }
route6d.c
1150–1154 If the source address of a response message is not a link-local address, ...