diff options
author | Pavel Machek <pavel@ucw.cz> | 1998-12-04 11:45:51 +0000 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1998-12-04 11:45:51 +0000 |
commit | 2d9290e973b9cfc909057a0409152e020d1c29db (patch) | |
tree | ca911770cb85e8734e6b2709bd2f3bef0729e152 /nest/iface.h | |
parent | 9b999c393c6f89a73d5fe0f4e152b77ca0afb1b2 (diff) |
Rip now has configurable per-interface metric (please rewiev), and few
more configurable parameters. To do that, union was added into iface_patt.
Diffstat (limited to 'nest/iface.h')
-rw-r--r-- | nest/iface.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h index 62b3f94b..fdec0946 100644 --- a/nest/iface.h +++ b/nest/iface.h @@ -100,6 +100,11 @@ struct iface_patt { byte *pattern; /* Interface name pattern */ /* Protocol-specific data follow */ + union { + struct { + int metric; + } rip; + } u; }; struct iface_patt *iface_patt_match(list *, struct iface *); |