[gnome-network]IPV6 fix for scan



For some reason connect() always returns zero for IPV6 on my RedHat 9 system configured to use IPV4. This breaks the port scan function in gnome-netinfo.

Here is a patch that works around that and at the same time reduces the number of system calls.

Can someone please test this on a IPV6 system?

Let me know if this is ok to commit.

Thanks,
Jon




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]