From 84fba50b0ca66254fc003f93c93d4b67b3de807b Mon Sep 17 00:00:00 2001
From: =?utf8?q?Karsten=20Ball=C3=BCder?= <ballueder@usa.net>
Date: Wed, 2 Feb 2000 16:09:54 +0000
Subject: [PATCH] FreeBSD fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/unix/dialup.cpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/unix/dialup.cpp b/src/unix/dialup.cpp
index c05c255864..6641d377b4 100644
--- a/src/unix/dialup.cpp
+++ b/src/unix/dialup.cpp
@@ -565,8 +565,11 @@ wxDialUpManagerImpl::CheckIfconfig(void)
 #if defined(__SOLARIS__) || defined (__SUNOS__)
       // need to add -a flag
       cmd << " -a";
-#elif defined(__LINUX__) || defined (__FREEBSD__) || defined(__SGI__)
+#elif defined(__LINUX__) || defined(__SGI__)
       // nothing to be added to ifconfig
+#elif defined(__FREEBSD__)
+      // add -l flag
+      cmd << " -l";
 #elif defined(__HPUX__)
       // VZ: a wild guess (but without it, ifconfig fails completely)
       cmd << _T(" ppp0");
@@ -646,7 +649,7 @@ wxDialUpManagerImpl::CheckPing(void)
    cmd << m_PingPath << ' ';
 #if defined(__SOLARIS__) || defined (__SUNOS__)
    // nothing to add to ping command
-#elif defined(__LINUX__)
+#elif defined(__LINUX__) || defined ( __FREEBSD__)
    cmd << "-c 1 "; // only ping once
 #elif defined(__HPUX__)
    cmd << "64 1 "; // only ping once (need also specify the packet size)
-- 
2.49.0