Skip to content

Commit

Permalink
Suggested patch for issue cisco-system-traffic-generator#1145
Browse files Browse the repository at this point in the history
Signed-off-by: Hakan Latth <[email protected]>
  • Loading branch information
haklat43 committed Aug 22, 2024
1 parent aba3055 commit e92df66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stx/common/trex_stack_linux_based.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ void CLinuxIfNode::conf_ip6_internal(bool enabled, const string &ip6_buf) {
char buf[INET6_ADDRSTRLEN];
if ( enabled ) {
run_in_ns("sysctl net.ipv6.conf." + m_if_name + "-L.disable_ipv6=0", "Could not enable ipv6 for veth");
run_in_ns("ip -6 route add default dev " + m_if_name + "-L", "Could not set interface as default route");
run_in_ns("ip -6 route replace default dev " + m_if_name + "-L", "Could not set interface as default route");
if ( ip6_buf.size() ) {
inet_ntop(AF_INET6, ip6_buf.c_str(), buf, INET6_ADDRSTRLEN);
string ip6_str(buf);
Expand Down

0 comments on commit e92df66

Please sign in to comment.