diff --git a/src/netif/ppp/ipcp.c b/src/netif/ppp/ipcp.c index 2d9913c9..29cbccff 100644 --- a/src/netif/ppp/ipcp.c +++ b/src/netif/ppp/ipcp.c @@ -1824,7 +1824,7 @@ ipcp_up(f) return; } if (ho->hisaddr == 0 && !noremoteip) { - ho->hisaddr = htonl(0x0a404040 + ifunit); + ho->hisaddr = htonl(0x0a404040); warn("Could not determine remote IP address: defaulting to %I", ho->hisaddr); } diff --git a/src/netif/ppp/ppp.c b/src/netif/ppp/ppp.c index b5f91058..25333554 100644 --- a/src/netif/ppp/ppp.c +++ b/src/netif/ppp/ppp.c @@ -156,8 +156,6 @@ int unsuccess; /* # unsuccessful connection attempts */ int listen_time; /* time to listen first (ms) */ int status; /* exit status for pppd */ int need_holdoff; /* need holdoff period before restarting */ -/* FIXME: remove ifunit */ -int ifunit; /* Interface unit number */ /* FIXME: outpacket_buf per PPP session */ @@ -367,7 +365,6 @@ int ppp_init(void) { listen_time = 0; status = EXIT_OK; need_holdoff = 1; - ifunit = 1; /* FIXME: remove ifunit */ #if PPP_STATS_SUPPORT link_stats_valid = 0; #endif /* PPP_STATS_SUPPORT */ diff --git a/src/netif/ppp/ppp_impl.h b/src/netif/ppp/ppp_impl.h index 184dfdd5..d35b5f33 100644 --- a/src/netif/ppp/ppp_impl.h +++ b/src/netif/ppp/ppp_impl.h @@ -272,8 +272,6 @@ extern int unsuccess; /* # unsuccessful connection attempts */ extern int listen_time; /* time to listen first (ms) */ extern int status; /* exit status for pppd */ extern int need_holdoff; /* Need holdoff period after link terminates */ -/* FIXME: remove ifunit */ -extern int ifunit; /* Interface unit number */ extern u_char outpacket_buf[]; /* Buffer for outgoing packets */ /* FIXME: add more HAVE_MULTILINK */