nwdigitalradio / rmsgw

Linux RMS Gateway
GNU General Public License v2.0
23 stars 12 forks source link

rmschanstat issue #16

Open sq4bja opened 2 years ago

sq4bja commented 2 years ago

Hi, There is an issue in rmschanstat. If I have more then one kissport (ax0, ax1, ax2) and the same IP on all of them, the script does not working correctly. Line with STATUS: STATUS=($(netstat --protocol=${TYPE} -l | grep "${INTERFACE[0]}" | grep "${CALL}" | grep -i "LISTENING")) should by changed to: STATUS=($(netstat --protocol=${TYPE} -l | grep "${CALL}" | grep -i "LISTENING"))

It helps, but I know, that is a trick. The error is in INTERFACE variable.

Tom SQ4BJA