summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1998-12-04 12:45:51 +0100
committerPavel Machek <pavel@ucw.cz>1998-12-04 12:45:51 +0100
commit2d9290e973b9cfc909057a0409152e020d1c29db (patch)
treeca911770cb85e8734e6b2709bd2f3bef0729e152 /nest
parent9b999c393c6f89a73d5fe0f4e152b77ca0afb1b2 (diff)
downloadbird-2d9290e973b9cfc909057a0409152e020d1c29db.tar
bird-2d9290e973b9cfc909057a0409152e020d1c29db.zip
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')
-rw-r--r--nest/iface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h
index 62b3f94..fdec094 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 *);