PPP, get_mask() is only used for IPCP, moved to PPP_IPV4_SUPPORT functions group

This commit is contained in:
Sylvain Rochet
2015-04-13 22:58:45 +02:00
parent 6324068d34
commit c865211c2f
2 changed files with 37 additions and 41 deletions

View File

@@ -458,6 +458,7 @@ int sifvjcomp(ppp_pcb *pcb, int vjcomp, int cidcomp, int maxcid);
#endif /* VJ_SUPPORT */
int sifup(ppp_pcb *pcb);
int sifdown (ppp_pcb *pcb);
u32_t get_mask(u32_t addr);
#endif /* PPP_IPV4_SUPPORT */
#if PPP_IPV6_SUPPORT
@@ -486,8 +487,6 @@ int get_idle_time(ppp_pcb *pcb, struct ppp_idle *ip);
int get_loop_output(void);
#endif /* DEMAND_SUPPORT */
u32_t get_mask(u32_t addr);
/* Optional protocol names list, to make our messages a little more informative. */
#if PPP_PROTOCOLNAME
const char * protocol_name(int proto);