]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/sys-osf.c
Add dummy have_route_to functions.
[ppp.git] / pppd / sys-osf.c
index 93070e558ccb2c02c843781af1a6ca6b6d61b98b..38643cd9e2e5a8574a790a64c4ecf96c3aae8ba0 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #ifndef lint
-static char rcsid[] = "$Id: sys-osf.c,v 1.14 1998/11/07 06:59:31 paulus Exp $";
+static char rcsid[] = "$Id: sys-osf.c,v 1.15 1999/03/08 01:46:22 paulus Exp $";
 #endif
 
 #include <stdio.h>
@@ -1499,6 +1499,17 @@ GetMask(addr)
     return mask;
 }
 
+/*
+ * have_route_to - determine if the system has any route to
+ * a given IP address.
+ * For demand mode to work properly, we have to ignore routes
+ * through our own interface.
+ */
+int have_route_to(u_int32_t addr)
+{
+    return -1;
+}
+
 static int
 strioctl(fd, cmd, ptr, ilen, olen)
     int fd, cmd, ilen, olen;