summaryrefslogtreecommitdiffstats
path: root/proto/static/static.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-12-03 12:41:23 +0100
committerMartin Mares <mj@ucw.cz>1999-12-03 12:41:23 +0100
commitfeed82267663c6826da896309de180417bd0b39f (patch)
treea67184df9223e16bd0b59b69f5af0c45290deae6 /proto/static/static.h
parent02c1fbddd462fecc6887a44ef67202870bcae7be (diff)
downloadbird-feed82267663c6826da896309de180417bd0b39f.tar
bird-feed82267663c6826da896309de180417bd0b39f.zip
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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/static/static.h b/proto/static/static.h
index 5299a9f..6645118 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