From f6bd206607d9fcad3572841813d7376bd2df4952 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 6 Dec 1998 23:13:31 +0000 Subject: All static routes except for device ones should work and appear/disappear when their destination comes on/off link. Deserves better testing :) See example in bird.conf. --- proto/static/static.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'proto/static/static.h') diff --git a/proto/static/static.h b/proto/static/static.h index df18c13..b6d6945 100644 --- a/proto/static/static.h +++ b/proto/static/static.h @@ -11,20 +11,20 @@ struct static_proto { struct proto p; - list routes; + list iface_routes; /* Routes to search on interface events */ + list other_routes; /* Routes hooked to neighbor cache and reject routes */ }; void static_init_instance(struct static_proto *); struct static_route { node n; - u32 net; /* Network we route */ + ip_addr net; /* Network we route */ int masklen; /* Mask length */ int dest; /* Destination type (RTD_*) */ - u32 via; /* Destination router */ + ip_addr via; /* Destination router */ struct neighbor *neigh; - /* FIXME: Device routes, maybe via device patterns? */ - /* FIXME: More route attributes, probably via filter syntax */ + byte *if_name; /* Name for RTD_DEVICE routes */ }; #endif -- cgit v1.2.3