summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/bundle.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-07-28 21:54:54 +0000
committerbrian <brian@FreeBSD.org>1998-07-28 21:54:54 +0000
commit9a2438b63a4a38c721d05e02835d87879878a435 (patch)
tree5182da44fc5e58e47102b8e3e5d1833f185a7ccc /usr.sbin/ppp/bundle.h
parenta8040b983130775d11758b3701ec79c170d7ef70 (diff)
downloadFreeBSD-src-9a2438b63a4a38c721d05e02835d87879878a435.zip
FreeBSD-src-9a2438b63a4a38c721d05e02835d87879878a435.tar.gz
Silence ``Network unreachable'' warnings when using
``add .... HISADDR''. The network will never be reachable at this point unless we're in -auto or reading the command from ppp.linkup. We can now run the following lines and get the expected results: set ifaddr 1.2.3.4/0 5.6.7.8/0 add default HISADDR where a route is added immediately in auto mode and the whole thing is delayed 'till the IP numbers have been agreed in other modes. Essentially, ppp.linkup is no longer required.
Diffstat (limited to 'usr.sbin/ppp/bundle.h')
-rw-r--r--usr.sbin/ppp/bundle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/bundle.h b/usr.sbin/ppp/bundle.h
index a7c8d70..8887f182 100644
--- a/usr.sbin/ppp/bundle.h
+++ b/usr.sbin/ppp/bundle.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bundle.h,v 1.8 1998/06/16 19:40:25 brian Exp $
+ * $Id: bundle.h,v 1.9 1998/06/27 14:17:24 brian Exp $
*/
#define PHASE_DEAD 0 /* Link is dead */
@@ -139,7 +139,7 @@ extern const char *bundle_PhaseName(struct bundle *);
extern void bundle_NewPhase(struct bundle *, u_int);
extern int bundle_LinkIsUp(const struct bundle *);
extern int bundle_SetRoute(struct bundle *, int, struct in_addr,
- struct in_addr, struct in_addr, int);
+ struct in_addr, struct in_addr, int, int);
extern void bundle_Close(struct bundle *, const char *, int);
extern void bundle_Down(struct bundle *, int);
extern void bundle_Open(struct bundle *, const char *, int);
OpenPOWER on IntegriCloud