Its nice to know when new capabilities are added.
But we don't need to report after being informed about them.
TODO: reduce the message to once every thousand or so.
But be careful to identify what different type numbers exist.
#define WCCP2_CAPABILITY_FORWARDING_METHOD 0x01
#define WCCP2_CAPABILITY_ASSIGNMENT_METHOD 0x02
#define WCCP2_CAPABILITY_RETURN_METHOD 0x03
+// 0x04 ?? - advertised by a 4507 (ios v15.1) Cisco switch
+// 0x05 ?? - advertised by a 4507 (ios v15.1) Cisco switch
/* capability values */
#define WCCP2_METHOD_GRE 0x00000001
break;
+ case 4:
+ case 5:
+ break; // ignore silently for now
+
default:
debugs(80, 1, "Unknown capability type in WCCPv2 Packet (" << ntohs(router_capability_element->capability_type) << ").");
}