diff options
author | Matthew Smith <mgsmith@netgate.com> | 2018-07-20 11:52:05 -0500 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-07-21 11:56:10 +0000 |
commit | e3750671423e70283dd1e60c53ddffdfe651ecbb (patch) | |
tree | 1f44eb63105f5258fc70f37e6eea03680bb82e51 /src/vlibsocket | |
parent | 2a03efe4c2d716de4cfd032594f4f1e88859d3dd (diff) |
fix IP directed broadcast node declarations
The dev build ('make build') was failing because
ip4_rewrite_bcast() and ip6_rewrite_bcast() are declared static
and were not referenced.
The node functions that were set for directed broadcast rewrite:
ip4_rewrite_bcast_node - ip4_rewrite()
ip6_rewrite_bcast_node - ip6_rewrite()
Changed to:
ip4_rewrite_bcast_node - ip4_rewrite_bcast()
ip6_rewrite_bcast_node - ip6_rewrite_bcast()
The release build ('make build-release') succeeds because there is
a VLIB_NODE_FUNCTION_MULTIARCH() call referencing the function. That
macro is empty for dev builds.
Change-Id: I2a05f00ca43d0eae8ff2e3026991e69917003fe1
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/vlibsocket')
0 files changed, 0 insertions, 0 deletions