diff options
author | Martin Mares <mj@ucw.cz> | 1999-12-03 11:41:23 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-12-03 11:41:23 +0000 |
commit | feed82267663c6826da896309de180417bd0b39f (patch) | |
tree | a67184df9223e16bd0b59b69f5af0c45290deae6 /proto/static/static.h | |
parent | 02c1fbddd462fecc6887a44ef67202870bcae7be (diff) |
Implemented `show static'. It's a relatively good example of how to write
show commands for other protocols.
Diffstat (limited to 'proto/static/static.h')
-rw-r--r-- | proto/static/static.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/static/static.h b/proto/static/static.h index 5299a9f8..66451183 100644 --- a/proto/static/static.h +++ b/proto/static/static.h @@ -26,6 +26,9 @@ struct static_route { ip_addr via; /* Destination router */ struct neighbor *neigh; byte *if_name; /* Name for RTD_DEVICE routes */ + int installed; /* Installed in master table */ }; +void static_show(struct proto *); + #endif |