Fixes a one byte buffer overflow.
This commit is contained in:
parent
948c865fac
commit
4ca93a5067
1 changed files with 1 additions and 1 deletions
|
@ -1637,7 +1637,7 @@ rt_format_via(rte *e, byte *via)
|
|||
static void
|
||||
rt_show_rte(struct cli *c, byte *ia, rte *e, struct rt_show_data *d, ea_list *tmpa)
|
||||
{
|
||||
byte via[STD_ADDRESS_P_LENGTH+32], from[STD_ADDRESS_P_LENGTH+6];
|
||||
byte via[STD_ADDRESS_P_LENGTH+32], from[STD_ADDRESS_P_LENGTH+8];
|
||||
byte tm[TM_DATETIME_BUFFER_SIZE], info[256];
|
||||
rta *a = e->attrs;
|
||||
int primary = (e->net->routes == e);
|
||||
|
|
Loading…
Reference in a new issue