mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Specify a trigger address of 0.0.0.0 here so that we can sucessfully
negotiate with broken ppp implementations that won't supply an IP number unless we suggest 0.0.0.0 Noted by: Andrew Parry <andrew.parry@db.com>
This commit is contained in:
parent
b10c4e187f
commit
3142868451
2 changed files with 2 additions and 2 deletions
|
|
@ -280,7 +280,7 @@ startPPP(Device *devp)
|
|||
fprintf(fp, "\ninstall:\n");
|
||||
fprintf(fp, " set speed %s\n", speed);
|
||||
fprintf(fp, " set device %s\n", devp->devname);
|
||||
fprintf(fp, " set ifaddr %s %s\n", myaddr, provider);
|
||||
fprintf(fp, " set ifaddr %s %s 255.255.255.0 0.0.0.0\n", myaddr, provider);
|
||||
fprintf(fp, " set timeout 0\n");
|
||||
fprintf(fp, " enable dns\n");
|
||||
fprintf(fp, " set log local phase\n");
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ startPPP(Device *devp)
|
|||
fprintf(fp, "\ninstall:\n");
|
||||
fprintf(fp, " set speed %s\n", speed);
|
||||
fprintf(fp, " set device %s\n", devp->devname);
|
||||
fprintf(fp, " set ifaddr %s %s\n", myaddr, provider);
|
||||
fprintf(fp, " set ifaddr %s %s 255.255.255.0 0.0.0.0\n", myaddr, provider);
|
||||
fprintf(fp, " set timeout 0\n");
|
||||
fprintf(fp, " enable dns\n");
|
||||
fprintf(fp, " set log local phase\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue