~ubuntu-branches/debian/jessie/ppp/jessie

« back to all changes in this revision

Viewing changes to pppd/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Beattie
  • Date: 2001-12-11 00:24:05 UTC
  • Revision ID: james.westby@ubuntu.com-20011211002405-gcsjlgalwyjf99m2
Tags: 2.4.1.uus-4
Use MAKEDEV in postinst, not mknod. (Closes: #122574)

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
    struct protent *protp;
234
234
    char numbuf[16];
235
235
 
 
236
    strlcpy(path_ipup, "/etc/ppp/ip-up", sizeof(path_ipup));
 
237
    strlcpy(path_ipdown, "/etc/ppp/ip-down", sizeof(path_ipup));
 
238
 
236
239
    new_phase(PHASE_INITIALIZE);
237
240
 
238
241
    /*
1576
1579
                 (chp? chp->prog: "??"), pid, WTERMSIG(status));
1577
1580
        } else if (debug)
1578
1581
            dbglog("Script %s finished (pid %d), status = 0x%x",
1579
 
                   (chp? chp->prog: "??"), pid, status);
 
1582
                   (chp? chp->prog: "??"), pid,
 
1583
                   WIFEXITED(status) ? WEXITSTATUS(status) : status);
1580
1584
        if (chp && chp->done)
1581
1585
            (*chp->done)(chp->arg);
1582
1586
        if (chp)
1779
1783
    if (tdb_store(pppdb, key, dbuf, TDB_REPLACE))
1780
1784
        error("tdb_store failed: %s", tdb_error(pppdb));
1781
1785
 
 
1786
    if (vbuf)
 
1787
        free(vbuf);
 
1788
 
1782
1789
}
1783
1790
 
1784
1791
/*