diff options
author | Martin Mares <mj@ucw.cz> | 1999-08-03 19:30:49 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-08-03 19:30:49 +0000 |
commit | 8edf2361f9c4bd745a1249db3f66dfc079dd2ca1 (patch) | |
tree | 5b97c4394925806715ea89a6c9fc61a0e44cdc1a /nest/iface.h | |
parent | 9273035403ace754e5b405b2c5efba7d55c28e78 (diff) |
Cleaned up handling of interface patterns:
o Parsing of interface patterns moved to generic code,
introduced this_ipatt which works similarly to this_iface.
o Interface patterns now support selection by both interface
names and primary IP addresses.
o Proto `direct' updated.
o RIP updated as well, it also seems the memory corruption
bug there is gone.
Diffstat (limited to 'nest/iface.h')
-rw-r--r-- | nest/iface.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nest/iface.h b/nest/iface.h index 1d26e7b8..9f3a2395 100644 --- a/nest/iface.h +++ b/nest/iface.h @@ -122,13 +122,10 @@ void neigh_prune(void); struct iface_patt { node n; byte *pattern; /* Interface name pattern */ + ip_addr prefix; /* Interface prefix */ + int pxlen; - /* Protocol-specific data follow, but keep them like this: - struct rip_iface_patt { - struct iface_patt i; - whatever you (need); - } - */ + /* Protocol-specific data follow after this structure */ }; struct iface_patt *iface_patt_match(list *, struct iface *); |