From 2d9290e973b9cfc909057a0409152e020d1c29db Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Fri, 4 Dec 1998 11:45:51 +0000 Subject: Rip now has configurable per-interface metric (please rewiev), and few more configurable parameters. To do that, union was added into iface_patt. --- nest/iface.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nest/iface.h') 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 *); -- cgit v1.2.3