aboutsummaryrefslogtreecommitdiffstats
path: root/src/ppp-watch.c
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-09-15 05:40:21 +0000
committerBill Nottingham <notting@redhat.com>2003-09-15 05:40:21 +0000
commit30ca006ae718fcd856ff3fa3783218233a0736aa (patch)
treeaf41ff94184c07abd1a9f768d2798770ea718b1c /src/ppp-watch.c
parentb64be488902cccb3f4e10396a93777caa107b1d9 (diff)
downloadinitscripts-30ca006ae718fcd856ff3fa3783218233a0736aa.tar
initscripts-30ca006ae718fcd856ff3fa3783218233a0736aa.tar.gz
initscripts-30ca006ae718fcd856ff3fa3783218233a0736aa.tar.bz2
initscripts-30ca006ae718fcd856ff3fa3783218233a0736aa.tar.xz
initscripts-30ca006ae718fcd856ff3fa3783218233a0736aa.zip
ppp fixes (#104128, #97845, #85447)
Diffstat (limited to 'src/ppp-watch.c')
-rw-r--r--src/ppp-watch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ppp-watch.c b/src/ppp-watch.c
index 6f27e850..37ad5203 100644
--- a/src/ppp-watch.c
+++ b/src/ppp-watch.c
@@ -609,7 +609,7 @@ main(int argc, char **argv) {
dying = TRUE;
/* Get the pid of our child pppd. */
- pppLogicalToPhysical(&pppdPid, real_device, NULL);
+ pppLogicalToPhysical(&pppdPid, device, NULL);
/* We don't know what our child pid is. This is very confusing. */
if (!pppdPid) {
@@ -639,7 +639,7 @@ main(int argc, char **argv) {
ifcfg = shvarfilesGet(device);
/* Get the PID of our child pppd. */
- pppLogicalToPhysical(&pppdPid, real_device, NULL);
+ pppLogicalToPhysical(&pppdPid, device, NULL);
kill(pppdPid, SIGTERM);
/* We'll redial when the SIGCHLD arrives, even if PERSIST is
@@ -657,7 +657,7 @@ main(int argc, char **argv) {
if (theSigio) {
theSigio = 0;
- pppLogicalToPhysical(NULL, real_device, &physicalDevice);
+ pppLogicalToPhysical(NULL, device, &physicalDevice);
if (physicalDevice) {
if (interfaceIsUp(physicalDevice)) {
/* The interface is up, so report a success to a parent if