diff options
Diffstat (limited to 'proto/static/static.h')
-rw-r--r-- | proto/static/static.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/static/static.h b/proto/static/static.h index 5c31e009..c91b9cef 100644 --- a/proto/static/static.h +++ b/proto/static/static.h @@ -28,9 +28,13 @@ struct static_route { ip_addr via; /* Destination router */ struct neighbor *neigh; byte *if_name; /* Name for RTD_DEVICE routes */ + struct static_route *mp_next; /* Nexthops for RTD_MULTIPATH routes */ int installed; /* Installed in master table */ }; +/* Dummy nodes (parts of multipath route) abuses masklen field for weight + and if_name field for a ptr to the master (RTD_MULTIPATH) node. */ + void static_show(struct proto *); #endif |