DialOnDemand interfaces now connect, too, when using create.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7212 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -142,7 +142,7 @@ create(const char *name, bool bringUp = true)
|
|||||||
printf("This interface is hidden! You can delete it by typing:\n"
|
printf("This interface is hidden! You can delete it by typing:\n"
|
||||||
"pppconfig delete %ld\n", interface.ID());
|
"pppconfig delete %ld\n", interface.ID());
|
||||||
|
|
||||||
if(bringUp && !info.info.doesDialOnDemand) {
|
if(bringUp) {
|
||||||
interface.Up();
|
interface.Up();
|
||||||
printf("Connecting in background...\n");
|
printf("Connecting in background...\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user