diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-13 11:13:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-13 11:13:13 +0000 |
commit | ac14f8c37c2549e00cbafec39790fe09d1763c6b (patch) | |
tree | f6da68248b5d0c7e0d50dde51d732a361be8e972 /usr.sbin/ospfctl | |
parent | a09e609e47839b51e79e7ac3390c24aa8f1d2563 (diff) |
match a few if_media uint64_t conversions; ok miod
Diffstat (limited to 'usr.sbin/ospfctl')
-rw-r--r-- | usr.sbin/ospfctl/ospfctl.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ospfctl/ospfctl.c b/usr.sbin/ospfctl/ospfctl.c index ac38df304f1..40721a74539 100644 --- a/usr.sbin/ospfctl/ospfctl.c +++ b/usr.sbin/ospfctl/ospfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfctl.c,v 1.58 2013/11/13 22:52:41 sthen Exp $ */ +/* $OpenBSD: ospfctl.c,v 1.59 2015/09/13 11:13:12 deraadt Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -65,8 +65,8 @@ int show_rib_detail_msg(struct imsg *); void show_fib_head(void); int show_fib_msg(struct imsg *); void show_interface_head(void); -const char * get_media_descr(int); -const char * get_linkstate(int, int); +const char * get_media_descr(uint64_t); +const char * get_linkstate(uint64_t, int); void print_baudrate(u_int64_t); int show_fib_interface_msg(struct imsg *); @@ -1277,7 +1277,7 @@ const struct ifmedia_description ifm_type_descriptions[] = IFM_TYPE_DESCRIPTIONS; const char * -get_media_descr(int media_type) +get_media_descr(uint64_t media_type) { const struct ifmedia_description *p; @@ -1289,7 +1289,7 @@ get_media_descr(int media_type) } const char * -get_linkstate(int media_type, int link_state) +get_linkstate(uint64_t media_type, int link_state) { const struct if_status_description *p; static char buf[8]; @@ -1319,7 +1319,7 @@ int show_fib_interface_msg(struct imsg *imsg) { struct kif *k; - int ifms_type; + uint64_t ifms_type; switch (imsg->hdr.type) { case IMSG_CTL_IFINFO: |