diff options
Diffstat (limited to 'nest/iface.h')
-rw-r--r-- | nest/iface.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/nest/iface.h b/nest/iface.h index fdec0946..a7f90a6e 100644 --- a/nest/iface.h +++ b/nest/iface.h @@ -99,12 +99,12 @@ struct iface_patt { node n; byte *pattern; /* Interface name pattern */ - /* Protocol-specific data follow */ - union { - struct { - int metric; - } rip; - } u; + /* Protocol-specific data follow, but keep them like this: + struct rip_iface_patt { + struct iface_patt i; + whatever you (need); + } + */ }; struct iface_patt *iface_patt_match(list *, struct iface *); |