Netstat depricated

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Netstat depricated

Postby tdechman » 06. April 2016 19:44

Hello all,
So on CentOS7 netstat has been depricated. So, a tweak is:
-- Change /opt/lamp/share/xampp/xampplib
From:
if netstat -an | egrep "[.:]$1 .*LISTEN" > /dev/null
To:
if ss -an | egrep "LISTEN.*:$1 "

this probably could use the addition of the >/dev/null but works without it.
tdechman
 
Posts: 1
Joined: 06. April 2016 19:42
XAMPP version: 5.6.19
Operating System: Centos7

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 12 guests