Skip to content

Commit

Permalink
Merge pull request #14585 from donaldsharp/send_capability
Browse files Browse the repository at this point in the history
ldpd: Clarify error situation for different problems
  • Loading branch information
ton31337 authored Oct 14, 2023
2 parents 50e6ba2 + f024e4d commit c97c449
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ldpd/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,11 @@ send_capability(struct nbr *nbr, uint16_t capability, int enable)
* Announcement Parameter in Capability messages sent to
* its peers".
*/
fallthrough;
fatalx("send_capability: An LDP speaker MUST NOT include the Dynamic Capability Announcement Parameter");
break;
default:
fatalx("send_capability: unsupported capability");
break;
}

if (err) {
Expand Down

0 comments on commit c97c449

Please sign in to comment.