Skip to content

Commit

Permalink
Merge pull request #22 from netfoundry/patch-diverter-enable
Browse files Browse the repository at this point in the history
patched diverter-enable command
  • Loading branch information
dariuszSki authored Jul 14, 2023
2 parents 4e4b383 + 260d78c commit 539ed0b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,11 @@ All notable changes to this project will be documented in this file. The format
### Added

- nfhelp commands
- `zt-erhchecker-update` - download/update hc checker script that can be used by program like vrrp to evaluate the state of the edge-router
- `zt-erhchecker-update` - download/update hc checker script that can be used by program like vrrp to evaluate the state of the edge-router

## [1.4.3] - 2023-07-14

### Fixed

- nfhelp commands
- `diverter-enable` - updated diverter-enable command to restart the ziti-edge-router every time
3 changes: 2 additions & 1 deletion nfhelp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ diverter_enable() {
status=`dpkg -s zfw-router 2>/dev/null`
if [[ `echo $status |awk -F'[[:space:]]+|=' '{print $4}'` == "install" ]] && [[ -f $EBPF_BIN/start_ebpf_router.py ]]; then
sudo $EBPF_BIN/start_ebpf_router.py
sudo systemctl restart ziti-router
else
echo 'INFO: ebpf not installed, run diverter-update to install it.'
fi
Expand Down Expand Up @@ -328,7 +329,7 @@ run_profile(){

# print version
version(){
echo "1.4.2"
echo "1.4.3"
}

### Main
Expand Down

0 comments on commit 539ed0b

Please sign in to comment.