[GB.DESKTOP]
* BUG: Desktop.NetworkAvailable now works with another 'ifconfig' output syntax. git-svn-id: svn://localhost/gambas/trunk@6377 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
a808579937
commit
3e701eafdb
2 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,7 @@ Path="gb.desktop.gambas"
|
|||
File[1]=".src/DesktopMime.class:94.30"
|
||||
File[2]=".src/DesktopWatcher.class:13.14"
|
||||
Active=3
|
||||
File[3]=".src/Desktop.class:569.19"
|
||||
File[3]=".src/Desktop.class:574.9"
|
||||
File[4]=".src/Atom.class:10.16"
|
||||
File[5]=".src/_Desktop_Passwords.class:0.0"
|
||||
Count=5
|
||||
|
|
|
@ -570,6 +570,8 @@ Static Private Function NetworkAvailable_Read() As Boolean
|
|||
sLine = Trim(sLine)
|
||||
If sLine Begins "inet addr:" Then
|
||||
If sLine Not Begins "inet addr:127.0.0.1" Then Return True
|
||||
Else If sLine Begins "inet " Then
|
||||
If sLine Not Begins "inet 127.0.0.1" Then Return True
|
||||
Endif
|
||||
Next
|
||||
|
||||
|
|
Loading…
Reference in a new issue