diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-08-11 10:49:14 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-08-11 10:52:40 +0300 |
| commit | f1fda7bf84ff8340ce286c56dd853f3bd456c090 (patch) | |
| tree | 01b74f2ed6d0f71490e86b97d0a246a237c21b34 /pbrd/pbr_main.c | |
| parent | e7dce035abb000a9961d7ec7e4c384f150e4b2f6 (diff) | |
bgpd: Assign explicit-null for default-originate according to the AFI
RFC 3032 defines:
A value of 2 represents the "IPv6 Explicit NULL Label".
This label value is only legal at the bottom of the label
stack. It indicates that the label stack must be popped,
and the forwarding of the packet must then be based on the
IPv6 header.
Before this patch we set 128, but it was even more wrong, because it was sent
in host-byte order, not the network-byte.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'pbrd/pbr_main.c')
0 files changed, 0 insertions, 0 deletions
