summaryrefslogtreecommitdiff
path: root/usr.sbin/dvmrpd/dvmrpd.h
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2015-09-27 17:29:47 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2015-09-27 17:29:47 +0000
commit0a259b0450e397cec273f6864ce4bb40dabc5a86 (patch)
treed82cfb0cd36d081be4482aa7257531b83710591c /usr.sbin/dvmrpd/dvmrpd.h
parentef11628f95ffab8452689858bdbb1495f39b8b59 (diff)
As done for bgpd recently, rename if_mediatype to if_type in dvrmpd.
Remove unused function get_ifms_type(). No ifmedia in here anymore. "move forward" deraadt@
Diffstat (limited to 'usr.sbin/dvmrpd/dvmrpd.h')
-rw-r--r--usr.sbin/dvmrpd/dvmrpd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/dvmrpd/dvmrpd.h b/usr.sbin/dvmrpd/dvmrpd.h
index c326eafaff5..3bfc4f39be9 100644
--- a/usr.sbin/dvmrpd/dvmrpd.h
+++ b/usr.sbin/dvmrpd/dvmrpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvmrpd.h,v 1.20 2009/11/02 20:31:50 claudio Exp $ */
+/* $OpenBSD: dvmrpd.h,v 1.21 2015/09/27 17:29:45 stsp Exp $ */
/*
* Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org>
@@ -222,7 +222,7 @@ struct iface {
u_int8_t robustness;
u_int8_t linkstate;
- u_int8_t media_type;
+ u_int8_t if_type;
u_int8_t passive;
u_int8_t igmp_version;
};
@@ -264,7 +264,7 @@ struct kif {
int flags;
int mtu;
u_short ifindex;
- u_int8_t media_type;
+ u_int8_t if_type;
u_int8_t link_state;
u_int8_t nh_reachable; /* for nexthop verification */
};
@@ -310,7 +310,7 @@ struct ctl_iface {
enum iface_type type;
u_int8_t robustness;
u_int8_t linkstate;
- u_int8_t mediatype;
+ u_int8_t if_type;
u_int8_t passive;
u_int8_t igmp_version;
};