diff options
-rw-r--r-- | proto/bgp/packets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index e8cc4718..18a226fb 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -3377,8 +3377,8 @@ bgp_log_error(struct bgp_proto *p, u8 class, char *msg, uint code, uint subcode, *t++ = ':'; *t++ = ' '; - if (len > 16) - len = 16; + if (len > 128) + len = 128; for (i=0; i<len; i++) t += bsprintf(t, "%02x", data[i]); } |