In the NLRI handling code (e.g. `update_rib()`) it would be nice to consolidate the common logic so it doesn't need to be duplicated.