event.signature_revision, event.classification_id,
event.priority_id, TO_IP(event.ip_source),
TO_IP(event.ip_destination), event.sport_itype,
- event.dport_icode, event.ip_proto,
+ event.dport_icode, to_utype(event.ip_proto),
event.impact_flag, event.blocked);
}
printf("ip destination: %s\n"
"\tsrc port: %hu\tdest port: %hu\tip_proto: %hhu\timpact_flag: %hhu\tblocked: %hhu\n",
ip6buf, event.sport_itype,
- event.dport_icode, event.ip_proto,
+ event.dport_icode, to_utype(event.ip_proto),
event.impact_flag, event.blocked);
}
event.signature_revision, event.classification_id,
event.priority_id, TO_IP(event.ip_source),
TO_IP(event.ip_destination), event.sport_itype,
- event.dport_icode, event.ip_proto,
+ event.dport_icode, to_utype(event.ip_proto),
event.impact_flag, event.blocked,
event.mpls_label, event.vlanId, event.pad2);
}
"\tsrc port: %hu\tdest port: %hu\tip_proto: %hhu\timpact_flag: %hhu\tblocked: %hhu\n"
"\tmpls label: %u\tvland id: %hu\tpolicy id: %hu\n",
ip6buf, event.sport_itype,
- event.dport_icode, event.ip_proto,
+ event.dport_icode, to_utype(event.ip_proto),
event.impact_flag, event.blocked,
event.mpls_label, event.vlanId,event.pad2);
}