summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_interface.h
diff options
context:
space:
mode:
authorajs <ajs>2004-12-15 15:07:19 +0000
committerajs <ajs>2004-12-15 15:07:19 +0000
commitb8f7ef9b3161a1c7e60c89790d7b0ca92c81dd58 (patch)
tree80861f9204a1f2a410dbddd63187aac92def6771 /ospfd/ospf_interface.h
parentf3d0209e7d7f8e5dbd9ddc08afc25041f6cb89c5 (diff)
downloadquagga-b8f7ef9b3161a1c7e60c89790d7b0ca92c81dd58.tar.bz2
quagga-b8f7ef9b3161a1c7e60c89790d7b0ca92c81dd58.tar.xz
2004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* ospf_interface.h: Declare new function ospf_default_iftype. * ospf_interface.c: (ospf_default_iftype) New function to centralize this logic in one place. * ospf_zebra.c: (ospf_interface_add) Use new function ospf_default_iftype. * ospf_vty.c: (no_ip_ospf_network,config_write_interface) Fix logic by using new function ospf_default_iftype.
Diffstat (limited to 'ospfd/ospf_interface.h')
-rw-r--r--ospfd/ospf_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_interface.h b/ospfd/ospf_interface.h
index ed6abed0..60ee1650 100644
--- a/ospfd/ospf_interface.h
+++ b/ospfd/ospf_interface.h
@@ -246,4 +246,6 @@ struct crypt_key *ospf_crypt_key_new ();
void ospf_crypt_key_add (struct list *, struct crypt_key *);
int ospf_crypt_key_delete (struct list *, u_char);
+u_char ospf_default_iftype(struct interface *ifp);
+
#endif /* _ZEBRA_OSPF_INTERFACE_H */