const char *line; /* just better debugging */
const char *section; /* just better debugging */
struct nbt_name name;
+ const char *comment;
BOOL skip;
struct {
uint32_t nb_flags;
.line = __location__,
.section= "Test Replica vs. owned active: some more MHOMED combinations",
.name = _NBT_NAME("_MA_MA_SP_U", 0x00, NULL),
+ .comment= "C:MHOMED vs. B:ALL => B:ALL",
.skip = (ctx->addresses_all_num < 3),
.wins = {
.nb_flags = 0,
{
.line = __location__,
.name = _NBT_NAME("_MA_MA_SM_U", 0x00, NULL),
+ .comment= "C:MHOMED vs. B:MHOMED => B:MHOMED",
.skip = (ctx->addresses_mhomed_num < 2),
.wins = {
.nb_flags = 0,
{
.line = __location__,
.name = _NBT_NAME("_MA_MA_SB_P", 0x00, NULL),
+ .comment= "C:MHOMED vs. B:BEST (C:MHOMED) => B:MHOMED",
.skip = (ctx->addresses_mhomed_num < 2),
.wins = {
.nb_flags = 0,
{
.line = __location__,
.name = _NBT_NAME("_MA_MA_SB_A", 0x00, NULL),
+ .comment= "C:MHOMED vs. B:BEST (C:ALL) => B:MHOMED",
.skip = (ctx->addresses_all_num < 3),
.wins = {
.nb_flags = 0,
{
.line = __location__,
.name = _NBT_NAME("_MA_MA_SB_PRA", 0x00, NULL),
+ .comment= "C:MHOMED vs. B:BEST (C:BEST) => C:MHOMED",
.skip = (ctx->addresses_all_num < 2),
.wins = {
.nb_flags = 0,
{
.line = __location__,
.name = _NBT_NAME("_MA_MA_SB_O", 0x00, NULL),
-
+ .comment= "C:MHOMED vs. B:BEST (B:B_3_4) =>C:MHOMED",
.skip = (ctx->addresses_all_num < 2),
.wins = {
.nb_flags = 0,
{
.line = __location__,
.name = _NBT_NAME("_MA_MA_SB_N", 0x00, NULL),
+ .comment= "C:MHOMED vs. B:BEST (NEGATIVE) => B:BEST",
.skip = (ctx->addresses_mhomed_num < 2),
.wins = {
.nb_flags = 0,
.line = __location__,
.section= "Test Replica vs. owned active: some more UNIQUE,MHOMED combinations",
.name = _NBT_NAME("_MA_UA_SB_P", 0x00, NULL),
+ .comment= "C:MHOMED vs. B:UNIQUE,BEST (C:MHOMED) => B:MHOMED",
.skip = (ctx->addresses_all_num < 2),
.wins = {
.nb_flags = 0,
{
.line = __location__,
.name = _NBT_NAME("_UA_UA_DI_PRA", 0x00, NULL),
+ .comment= "C:BEST vs. B:BEST2 (C:BEST2,LR:BEST2) => C:BEST",
.skip = (ctx->addresses_all_num < 2),
.wins = {
.nb_flags = 0,
{
.line = __location__,
.name = _NBT_NAME("_UA_UA_DI_A", 0x00, NULL),
+ .comment= "C:BEST vs. B:BEST2 (C:ALL) => B:MHOMED",
.skip = (ctx->addresses_all_num < 3),
.wins = {
.nb_flags = 0,
{
.line = __location__,
.name = _NBT_NAME("_UA_MA_DI_A", 0x00, NULL),
+ .comment= "C:BEST vs. B:BEST (C:ALL) => B:MHOMED",
.skip = (ctx->addresses_all_num < 3),
.wins = {
.nb_flags = 0,
action = "NOT REPLACE";
}
- printf("%s => %s\n", nbt_name_string(ctx, &records[i].name), action);
+ printf("%s%s%s => %s\n",
+ nbt_name_string(ctx, &records[i].name),
+ (records[i].comment?": ":""),
+ (records[i].comment?records[i].comment:""),
+ action);
/* Prepare for multi homed registration */
ZERO_STRUCT(records[i].defend);