Skip to content

Commit

Permalink
bgpd: Fix RFC number in a comment
Browse files Browse the repository at this point in the history
Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Aug 8, 2023
1 parent 85fe386 commit ffa7233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -6145,7 +6145,7 @@ int bgp_nlri_parse_ip(struct peer *peer, struct attr *attr,
addpath_id = 0;
addpath_capable = bgp_addpath_encode_rx(peer, afi, safi);

/* RFC4771 6.3 The NLRI field in the UPDATE message is checked for
/* RFC4271 6.3 The NLRI field in the UPDATE message is checked for
syntactic validity. If the field is syntactically incorrect,
then the Error Subcode is set to Invalid Network Field. */
for (; pnt < lim; pnt += psize) {
Expand Down

0 comments on commit ffa7233

Please sign in to comment.