summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd/interface.c
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2015-09-27 17:32:36 +0000
committerstsp <stsp@openbsd.org>2015-09-27 17:32:36 +0000
commit16530d00b4f6e13c42c3cdf6f50cc6ae887d2296 (patch)
tree0f248a35b8a3aa4e0e2569e74ef0567224314cd0 /usr.sbin/ripd/interface.c
parentAs done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d. (diff)
downloadwireguard-openbsd-16530d00b4f6e13c42c3cdf6f50cc6ae887d2296.tar.xz
wireguard-openbsd-16530d00b4f6e13c42c3cdf6f50cc6ae887d2296.zip
As done for bgpd recently, rename if_mediatype to if_type in ripd.
And some ifmedia64 fixes. "move forward" deraadt@
Diffstat (limited to 'usr.sbin/ripd/interface.c')
-rw-r--r--usr.sbin/ripd/interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ripd/interface.c b/usr.sbin/ripd/interface.c
index 65e5667578b..36c60fe2794 100644
--- a/usr.sbin/ripd/interface.c
+++ b/usr.sbin/ripd/interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.c,v 1.12 2015/02/09 12:13:42 claudio Exp $ */
+/* $OpenBSD: interface.c,v 1.13 2015/09/27 17:32:36 stsp Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
@@ -425,7 +425,7 @@ if_new(struct kif *kif)
iface->ifindex = kif->ifindex;
iface->flags = kif->flags;
iface->linkstate = kif->link_state;
- iface->media_type = kif->media_type;
+ iface->if_type = kif->if_type;
iface->baudrate = kif->baudrate;
/* get address */
@@ -494,7 +494,7 @@ if_to_ctl(struct iface *iface)
ictl.type = iface->type;
ictl.linkstate = iface->linkstate;
ictl.passive = iface->passive;
- ictl.mediatype = iface->media_type;
+ ictl.if_type = iface->if_type;
gettimeofday(&now, NULL);