Changeset 456eab7d in rtems


Ignore:
Timestamp:
Sep 30, 2014, 9:26:50 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
93b000e
Parents:
805360b
git-author:
Sebastian Huber <sebastian.huber@…> (09/30/14 09:26:50)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/30/14 12:06:09)
Message:

pppd: Import change from NetBSD

This avoids the use of gethostbyname() in case the "noipdefault" option
is given. The gethostbyname() uses DNS by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/pppd/ipcp.c

    r805360b r456eab7d  
    12951295     * If local IP address already given, don't bother.
    12961296     */
    1297     if (wo->ouraddr == 0) {
     1297    if (wo->ouraddr == 0 && !disable_defaultip) {
    12981298        /*
    12991299         * Look up our hostname (possibly with domain name appended)
Note: See TracChangeset for help on using the changeset viewer.