-/* $OpenBSD: bgpctl.c,v 1.285 2022/10/17 12:01:19 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.286 2022/10/17 16:51:36 claudio Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
case SHOW_RIB_MEM:
imsg_compose(ibuf, IMSG_CTL_SHOW_RIB_MEM, 0, 0, -1, NULL, 0);
break;
- case SHOW_METRIC:
+ case SHOW_METRICS:
output = &ometric_output;
numdone = 2;
imsg_compose(ibuf, IMSG_CTL_SHOW_NEIGHBOR, 0, 0, -1, NULL, 0);
}
- if (res->action == SHOW_METRIC && --numdone > 0) {
+ if (res->action == SHOW_METRICS && --numdone > 0) {
done = 0;
goto again;
}
-/* $OpenBSD: parser.c,v 1.116 2022/10/17 15:04:12 claudio Exp $ */
+/* $OpenBSD: parser.c,v 1.117 2022/10/17 16:51:36 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
{ KEYWORD, "sets", SHOW_SET, NULL},
{ KEYWORD, "rtr", SHOW_RTR, NULL},
{ KEYWORD, "mrt", SHOW_MRT, t_show_mrt},
- { KEYWORD, "metrics", SHOW_METRIC, NULL},
+ { KEYWORD, "metrics", SHOW_METRICS, NULL},
{ ENDTOKEN, "", NONE, NULL}
};
-/* $OpenBSD: parser.h,v 1.43 2022/10/17 12:01:19 claudio Exp $ */
+/* $OpenBSD: parser.h,v 1.44 2022/10/17 16:51:36 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
SHOW_RIB_MEM,
SHOW_NEXTHOP,
SHOW_INTERFACE,
- SHOW_METRIC,
+ SHOW_METRICS,
RELOAD,
FIB,
FIB_COUPLE,