Skip to content

Commit

Permalink
Switch from gid/sid to tunnel id
Browse files Browse the repository at this point in the history
Signed-off-by: toby cabot <[email protected]>
  • Loading branch information
caboteria committed Dec 13, 2023
1 parent c59d244 commit f743bef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN apt-get install -y tcpdump
# Download the packet forwarding components from the true-ingress project
RUN mkdir -p /opt/acnodal/bin
RUN curl --silent --show-error -L \
https://github.com/epic-gateway/true-ingress/releases/download/v0.24.0-options18/true-ingress.tar.bz2 | \
https://github.com/epic-gateway/true-ingress/releases/download/v0.24.0-options21/true-ingress.tar.bz2 | \
tar -C /opt/acnodal -xjf -

WORKDIR /
Expand Down
2 changes: 1 addition & 1 deletion internal/trueingress/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ func SetTunnel(l logr.Logger, tunnelID uint32, tunnelAddr string, myAddr string,

// SetService sets the parameters needed by one PFC service.
func SetService(l logr.Logger, tunnelID uint32) error {
return runScript(l, fmt.Sprintf("/opt/acnodal/bin/cli_service set-node %[1]d %[2]d %[3]d", tunnelID>>16, tunnelID&0xffff, tunnelID))
return runScript(l, fmt.Sprintf("/opt/acnodal/bin/cli_service set-node %[1]d", tunnelID))
}

0 comments on commit f743bef

Please sign in to comment.