Message ID | 20211218170227.19999-1-ludo@gnu.org |
---|---|
Headers | show |
Series | Flag missing netmasks early on | expand |
Hey Ludo, > To avoid this, this patch flags it at expansion time (if possible) or > at run time, before the machine configuration is built. > > Did I go overboard with ‘define-compile-time-procedure’? I don’t think > so :-), I think it will serve us more than once. I tested this series, works fine! It is still possible to pass incorrect netmasks (negative, > 32 for IPv4), but they should be way less frequent than forgetting to add a netmask. Thanks, Mathieu
Hi, Mathieu Othacehe <othacehe@gnu.org> skribis: >> To avoid this, this patch flags it at expansion time (if possible) or >> at run time, before the machine configuration is built. >> >> Did I go overboard with ‘define-compile-time-procedure’? I don’t think >> so :-), I think it will serve us more than once. > > I tested this series, works fine! It is still possible to pass incorrect > netmasks (negative, > 32 for IPv4), but they should be way less frequent > than forgetting to add a netmask. Yeah… Pushed as 4df584aeac56fb6575ba43bc94f60f04522caf88, thanks for testing! Ludo’.