diff --git a/cicd/ipsec2/validation.sh b/cicd/ipsec2/validation.sh index 29fe8e2a9..73f71a7f2 100755 --- a/cicd/ipsec2/validation.sh +++ b/cicd/ipsec2/validation.sh @@ -24,7 +24,7 @@ do then printf "Ping %-16s \t->\t %-16s \t\t: [OK]\n" lh$i ${servArr[j]} $size ; else - printf "Ping %-16s \t->\t %-16s \t\t: [OK]\n" lh$i ${servArr[j]} $size ; + printf "Ping %-16s \t->\t %-16s \t\t: [NOK]\n" lh$i ${servArr[j]} $size ; code=1 fi j=$(( $j + 1 )) diff --git a/loxinet/dpebpf_linux.go b/loxinet/dpebpf_linux.go index bc84e81ad..f6e4c2abb 100644 --- a/loxinet/dpebpf_linux.go +++ b/loxinet/dpebpf_linux.go @@ -475,6 +475,11 @@ func (e *DpEbpfH) DpPortPropMod(w *PortDpWorkQ) int { lRet := e.loadEbpfPgm(w.LoadEbpf) if lRet != 0 { tk.LogIt(tk.LogError, "ebpf load - %d error\n", w.PortNum) + /* Shouldn't exit if the interface is not there, so return -1 and continue*/ + _, err := nlp.LinkByName(w.LoadEbpf) + if err != nil { + return -1 + } syscall.Exit(1) } }