Revision 7ff34ca2 proto/bgp/packets.c

View differences:

proto/bgp/packets.c
2893 2893
    return 1;
2894 2894

  
2895 2895
  /* Handle proper message */
2896
  if ((msg_len > 128) && (msg_len + 1 > len))
2896
  if ((msg_len > 255) && (msg_len + 1 > len))
2897 2897
    return 0;
2898 2898

  
2899 2899
  /* Some elementary cleanup */

Also available in: Unified diff