]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd.h
plugins/radius: Eliminate some potential buffer overruns
[ppp.git] / pppd / pppd.h
index 9f5f1ae07683d8ee45b77433399b3a4c16bd5b41..612902f55d0d6ceef0646980d7941b7571526e14 100644 (file)
@@ -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. */