An apparatus and method for reducing a number of matched entries to more relevant
matched entries. In routers, a destination Internet Protocol address of an incoming
packet is matched to a router table of Internet Protocol address prefixes, yielding
multiple matching entries in the router table. Less relevant matching entries that
contain shorter Internet Protocol address prefixes are automatically removed, leaving
only the entry including a longest matching prefix.