X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fpppd.h;h=612902f55d0d6ceef0646980d7941b7571526e14;hb=ab1b84327c5ecddf485734baa49b0b846f756c05;hp=9f5f1ae07683d8ee45b77433399b3a4c16bd5b41;hpb=0f9bd9807d92d624782fa3bc3d2abfb305edf7ee;p=ppp.git diff --git a/pppd/pppd.h b/pppd/pppd.h index 9f5f1ae..612902f 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -679,7 +679,7 @@ int sif6addr(int, eui64_t, eui64_t); int cif6addr(int, eui64_t, eui64_t); /* Remove an IPv6 address from i/f */ #endif -int sifdefaultroute(int, u_int32_t, u_int32_t); +int sifdefaultroute(int, u_int32_t, u_int32_t, bool replace_default_rt); /* Create default route through i/f */ int cifdefaultroute(int, u_int32_t, u_int32_t); /* Delete default route through i/f */ @@ -710,7 +710,7 @@ int sipxfaddr(int, unsigned long, unsigned char *); int cipxfaddr(int); #endif int get_if_hwaddr(u_char *addr, char *name); -char *get_first_ethernet(void); +int get_first_ether_hwaddr(u_char *addr); int get_time(struct timeval *); /* Get current time, monotonic if possible. */