Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Since IFF_MULTICAST's value can't be represented wit...
details: https://anonhg.NetBSD.org/src/rev/97d3361fbad2
branches: trunk
changeset: 348191:97d3361fbad2
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Oct 08 17:40:12 2016 +0000
description:
Since IFF_MULTICAST's value can't be represented without implicit cast
as signed short, make if_flags unsigned.
diffstat:
sys/net/if.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1bb5232b2311 -r 97d3361fbad2 sys/net/if.h
--- a/sys/net/if.h Sat Oct 08 17:37:32 2016 +0000
+++ b/sys/net/if.h Sat Oct 08 17:40:12 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if.h,v 1.227 2016/10/03 11:06:06 ozaki-r Exp $ */
+/* $NetBSD: if.h,v 1.228 2016/10/08 17:40:12 joerg Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -243,7 +243,7 @@
struct bpf_if *if_bpf; /* packet filter structure */
if_index_t if_index; /* numeric abbreviation for this if */
short if_timer; /* time 'til if_slowtimo called */
- short if_flags; /* up/down, broadcast, etc. */
+ unsigned short if_flags; /* up/down, broadcast, etc. */
short if_extflags; /* if_output MP-safe, etc. */
struct if_data if_data; /* statistics and other data about if */
/*
Home |
Main Index |
Thread Index |
Old Index