From feed82267663c6826da896309de180417bd0b39f Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 3 Dec 1999 11:41:23 +0000 Subject: Implemented `show static'. It's a relatively good example of how to write show commands for other protocols. --- proto/static/static.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'proto/static/static.h') 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 -- cgit v1.2.3