summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/ldpd.h
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2015-09-27 17:30:39 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2015-09-27 17:30:39 +0000
commit8198c6fa8a809aebd16cd6936c44c32095b3c6c2 (patch)
treed1eef7d3875cf1f9ecab3b93b28bedc67fcbda79 /usr.sbin/ldpd/ldpd.h
parent0a259b0450e397cec273f6864ce4bb40dabc5a86 (diff)
As done for bgpd recently, rename if_mediatype to if_type in ldpd.
And some ifmedia64 fixes. "move forward" deraadt@
Diffstat (limited to 'usr.sbin/ldpd/ldpd.h')
-rw-r--r--usr.sbin/ldpd/ldpd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ldpd/ldpd.h b/usr.sbin/ldpd/ldpd.h
index 98330bc463c..daed15d8c0f 100644
--- a/usr.sbin/ldpd/ldpd.h
+++ b/usr.sbin/ldpd/ldpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpd.h,v 1.55 2015/07/21 05:01:46 renato Exp $ */
+/* $OpenBSD: ldpd.h,v 1.56 2015/09/27 17:30:38 stsp Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -230,7 +230,7 @@ struct iface {
u_int16_t hello_interval;
u_int16_t flags;
enum iface_type type;
- u_int8_t media_type;
+ u_int8_t if_type;
u_int8_t linkstate;
};
@@ -375,7 +375,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;
};
@@ -391,7 +391,7 @@ struct ctl_iface {
u_int16_t hello_interval;
enum iface_type type;
u_int8_t linkstate;
- u_int8_t mediatype;
+ u_int8_t if_type;
};
struct ctl_adj {