diff options
Diffstat (limited to 'usr/src/uts/common/io/ntxn/unm_nic_hw.c')
-rw-r--r-- | usr/src/uts/common/io/ntxn/unm_nic_hw.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/src/uts/common/io/ntxn/unm_nic_hw.c b/usr/src/uts/common/io/ntxn/unm_nic_hw.c index 7a78099ecc..c3f46d0e19 100644 --- a/usr/src/uts/common/io/ntxn/unm_nic_hw.c +++ b/usr/src/uts/common/io/ntxn/unm_nic_hw.c @@ -24,6 +24,10 @@ * Use is subject to license terms. */ +/* + * Copyright (c) 2018, Joyent, Inc. + */ + #include <sys/types.h> #include <sys/conf.h> #include <sys/debug.h> @@ -1859,10 +1863,10 @@ unm_nic_set_promisc_mode(struct unm_adapter_s *adapter) break; } -if (!ret) - adapter->promisc = 1; + if (!ret) + adapter->promisc = 1; - return (ret); + return (ret); } int |