Who rated this post

cancel
Showing results for 
Search instead for 
Did you mean: 

AlexeyB
Contributor

Because in actual script additional param seted: "grep -v '+' ". You may use simplified command like this:

fw tab -t vpn_routing -u | awk 'NR>3 {$0=substr($0,2,28); gsub(", ", ""); gsub("; ", ""); gsub("..", "0x& "); print}' | xargs printf "%d.%d.%d.%d\t-\t%d.%d.%d.%d\tPeer: %d.%d.%d.%d\r\n"

Checked on many takes of 77.30

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


(1)
Who rated this post