Skip to content

Commit

Permalink
Merge branch 'master' into fix4545
Browse files Browse the repository at this point in the history
  • Loading branch information
jiceatscion authored Jul 22, 2024
2 parents 1acbb21 + 169a698 commit 6653ab3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/manuals/common.rst
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ of the individual fields below.

.. option:: disable = <bool>, default router.bfd.disable

See :option:`router.bfd.disabled <router-conf-toml disabled>`.
See :option:`router.bfd.disable <router-conf-toml disable>`.

Disable BFD, unconditionally consider the connection alive.

Expand Down
2 changes: 1 addition & 1 deletion doc/manuals/router.rst
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ considers the following options.

.. object:: bfd

.. option:: disabled = <bool> (Default: false)
.. option:: disable = <bool> (Default: false)

Set whether the :term:`BFD` feature is disabled by default.

Expand Down
4 changes: 3 additions & 1 deletion router/dataplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -2132,7 +2132,9 @@ func (d *DataPlane) resolveLocalDst(
if dstIP.Is4In6() {
return unsupportedV4MappedV6Address
}
if dstIP.IsUnspecified() { // IsInvalid() not possible, we initialized it from wire bits.
// Zero IP addresses (per IsUnspecified()) are not supported. Zero valued netip.Addr objects
// (per IsInvalid()) cannot happen here as dstIP is initialized from packet header data.
if dstIP.IsUnspecified() {
return unsupportedUnspecifiedAddress
}
return d.addEndhostPort(resolvedDst, lastLayer, dstIP)
Expand Down

0 comments on commit 6653ab3

Please sign in to comment.