summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-12-31 10:32:49 +0000
committerngie <ngie@FreeBSD.org>2016-12-31 10:32:49 +0000
commiteada65d28aa46382291fb577f115698fabe04d18 (patch)
treeb22d7786d88c3d7641b3a101016f6cefc6057e84 /contrib/bsnmp
parentf26e57240e91d732e0eb3083ce4e1048128caa53 (diff)
downloadFreeBSD-src-eada65d28aa46382291fb577f115698fabe04d18.zip
FreeBSD-src-eada65d28aa46382291fb577f115698fabe04d18.tar.gz
MFC r310648:
style(9): clean up trailing whitespace
Diffstat (limited to 'contrib/bsnmp')
-rw-r--r--contrib/bsnmp/gensnmpdef/gensnmpdef.14
-rw-r--r--contrib/bsnmp/gensnmpdef/gensnmpdef.c20
-rw-r--r--contrib/bsnmp/gensnmptree/gensnmptree.14
-rw-r--r--contrib/bsnmp/gensnmptree/gensnmptree.c6
-rw-r--r--contrib/bsnmp/lib/asn1.36
-rw-r--r--contrib/bsnmp/lib/asn1.c8
-rw-r--r--contrib/bsnmp/lib/asn1.h4
-rw-r--r--contrib/bsnmp/lib/bsnmpagent.34
-rw-r--r--contrib/bsnmp/lib/bsnmpclient.34
-rw-r--r--contrib/bsnmp/lib/bsnmplib.34
-rw-r--r--contrib/bsnmp/lib/snmp.c8
-rw-r--r--contrib/bsnmp/lib/snmp.h6
-rw-r--r--contrib/bsnmp/lib/snmpagent.c10
-rw-r--r--contrib/bsnmp/lib/snmpagent.h4
-rw-r--r--contrib/bsnmp/lib/snmpclient.c12
-rw-r--r--contrib/bsnmp/lib/snmpclient.h6
-rw-r--r--contrib/bsnmp/lib/snmpcrypto.c2
-rw-r--r--contrib/bsnmp/lib/snmppriv.h4
-rw-r--r--contrib/bsnmp/lib/support.c8
-rw-r--r--contrib/bsnmp/lib/support.h4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII.c10
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII.h4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_begemot.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_ifmib.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_ifstack.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_interfaces.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_ip.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_ipaddr.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_nettomedia.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_rcvaddr.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_route.c6
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_tcp.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_tree.def4
-rw-r--r--contrib/bsnmp/snmp_mibII/mibII_udp.c4
-rw-r--r--contrib/bsnmp/snmp_mibII/snmp_mibII.34
-rw-r--r--contrib/bsnmp/snmp_mibII/snmp_mibII.h4
-rw-r--r--contrib/bsnmp/snmp_ntp/NTP-MIB.txt120
-rw-r--r--contrib/bsnmp/snmp_ntp/NTP-PROXY-MIB.txt130
-rw-r--r--contrib/bsnmp/snmp_target/snmp_target.34
-rw-r--r--contrib/bsnmp/snmp_usm/snmp_usm.34
-rw-r--r--contrib/bsnmp/snmp_usm/usm_snmp.c6
-rw-r--r--contrib/bsnmp/snmp_vacm/snmp_vacm.34
-rw-r--r--contrib/bsnmp/snmp_vacm/vacm_snmp.c6
-rw-r--r--contrib/bsnmp/snmpd/BEGEMOT-MIB.txt4
-rw-r--r--contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt4
-rw-r--r--contrib/bsnmp/snmpd/FOKUS-MIB.txt4
-rw-r--r--contrib/bsnmp/snmpd/action.c10
-rw-r--r--contrib/bsnmp/snmpd/config.c4
-rw-r--r--contrib/bsnmp/snmpd/export.c4
-rw-r--r--contrib/bsnmp/snmpd/main.c4
-rw-r--r--contrib/bsnmp/snmpd/snmpd.config4
-rw-r--r--contrib/bsnmp/snmpd/snmpd.h4
-rwxr-xr-xcontrib/bsnmp/snmpd/snmpd.sh4
-rw-r--r--contrib/bsnmp/snmpd/snmpmod.34
-rw-r--r--contrib/bsnmp/snmpd/snmpmod.h4
-rw-r--r--contrib/bsnmp/snmpd/trans_lsock.c4
-rw-r--r--contrib/bsnmp/snmpd/trans_lsock.h4
-rw-r--r--contrib/bsnmp/snmpd/trans_udp.c4
-rw-r--r--contrib/bsnmp/snmpd/trans_udp.h4
-rw-r--r--contrib/bsnmp/snmpd/trap.c2
-rw-r--r--contrib/bsnmp/snmpd/tree.def6
61 files changed, 276 insertions, 276 deletions
diff --git a/contrib/bsnmp/gensnmpdef/gensnmpdef.1 b/contrib/bsnmp/gensnmpdef/gensnmpdef.1
index 678e345..5660095 100644
--- a/contrib/bsnmp/gensnmpdef/gensnmpdef.1
+++ b/contrib/bsnmp/gensnmpdef/gensnmpdef.1
@@ -4,7 +4,7 @@
.\" All rights reserved.
.\"
.\" Author: Harti Brandt <harti@FreeBSD.org>
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -13,7 +13,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/gensnmpdef/gensnmpdef.c b/contrib/bsnmp/gensnmpdef/gensnmpdef.c
index e4f1e5c..32c835d 100644
--- a/contrib/bsnmp/gensnmpdef/gensnmpdef.c
+++ b/contrib/bsnmp/gensnmpdef/gensnmpdef.c
@@ -1,10 +1,10 @@
-/*
+/*
* Copyright (C) 2004-2006
* Hartmut Brandt.
* All rights reserved.
- *
+ *
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -233,7 +233,7 @@ print_scalar(SmiNode *n, u_int level)
printf(" op_%s", p->name);
print_access(n->access);
-
+
printf(")\n");
}
@@ -422,7 +422,7 @@ static void
print_enum_typedef(SmiType *t)
{
SmiNamedNumber *nnum;
-
+
for (nnum = smiGetFirstNamedNumber(t); nnum != NULL;
nnum = smiGetNextNamedNumber(nnum)) {
printf("\t%ld %s\n" , nnum->value.value.integer32, nnum->name);
@@ -434,10 +434,10 @@ print_stype(SmiNode *n)
{
SmiType *type;
struct tdef *t = NULL;
-
+
type = smiGetNodeType(n);
assert(type != NULL);
-
+
if (type->basetype == SMI_BASETYPE_ENUM) {
if (do_typedef == 'e' && type->name != NULL) {
SLIST_FOREACH(t, &tdefs, link) {
@@ -450,7 +450,7 @@ print_stype(SmiNode *n)
printf("typedef %sType ENUM (\n", n->name);
else
return;
-
+
print_enum_typedef(type);
printf(")\n\n");
@@ -476,7 +476,7 @@ static void
print_typdefs(SmiNode *n)
{
SmiNode *p;
-
+
p = n;
n = smiGetFirstChildNode(n);
while (n != NULL) {
diff --git a/contrib/bsnmp/gensnmptree/gensnmptree.1 b/contrib/bsnmp/gensnmptree/gensnmptree.1
index f9d8d53..c0046b5c 100644
--- a/contrib/bsnmp/gensnmptree/gensnmptree.1
+++ b/contrib/bsnmp/gensnmptree/gensnmptree.1
@@ -7,7 +7,7 @@
.\" All rights reserved.
.\"
.\" Author: Harti Brandt <harti@FreeBSD.org>
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -16,7 +16,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/gensnmptree/gensnmptree.c b/contrib/bsnmp/gensnmptree/gensnmptree.c
index 0eca777..f2dc4fd 100644
--- a/contrib/bsnmp/gensnmptree/gensnmptree.c
+++ b/contrib/bsnmp/gensnmptree/gensnmptree.c
@@ -8,7 +8,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -17,7 +17,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -738,7 +738,7 @@ parse_type(enum tok *tok, struct type *t, const char *vname)
e->value = -(long)val;
} else
e->value = val;
-
+
if (*tok != TOK_NUM)
report("need value for ENUM/BITS");
if (gettoken() != TOK_STR)
diff --git a/contrib/bsnmp/lib/asn1.3 b/contrib/bsnmp/lib/asn1.3
index 419a929..a9cf117 100644
--- a/contrib/bsnmp/lib/asn1.3
+++ b/contrib/bsnmp/lib/asn1.3
@@ -5,9 +5,9 @@
.\" Copyright (c) 2001-2003
.\" Fraunhofer Institute for Open Communication Systems (FhG Fokus).
.\" All rights reserved.
-.\"
+.\"
.\" Author: Harti Brandt <harti@FreeBSD.org>
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -16,7 +16,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/lib/asn1.c b/contrib/bsnmp/lib/asn1.c
index 0c9d09a..03b5662 100644
--- a/contrib/bsnmp/lib/asn1.c
+++ b/contrib/bsnmp/lib/asn1.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -285,7 +285,7 @@ asn_put_real_integer(struct asn_buf *b, u_char type, int64_t ival)
enum asn_err ret;
if (ival < 0) {
- /* this may fail if |INT64_MIN| > |INT64_MAX| and
+ /* this may fail if |INT64_MIN| > |INT64_MAX| and
* the value is between * INT64_MIN <= ival < -(INT64_MAX+1) */
val = (uint64_t)-(ival + 1);
neg = 1;
@@ -890,7 +890,7 @@ asn_slice_oid(struct asn_oid *dest, const struct asn_oid *src,
memcpy(dest->subs, &src->subs[from], dest->len * sizeof(dest->subs[0]));
}
-/*
+/*
* Append from to to
*/
void
diff --git a/contrib/bsnmp/lib/asn1.h b/contrib/bsnmp/lib/asn1.h
index cf9a727..4aded8a 100644
--- a/contrib/bsnmp/lib/asn1.h
+++ b/contrib/bsnmp/lib/asn1.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/lib/bsnmpagent.3 b/contrib/bsnmp/lib/bsnmpagent.3
index 6b9c719..f9f2a7c 100644
--- a/contrib/bsnmp/lib/bsnmpagent.3
+++ b/contrib/bsnmp/lib/bsnmpagent.3
@@ -7,7 +7,7 @@
.\" All rights reserved.
.\"
.\" Author: Harti Brandt <harti@FreeBSD.org>
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -16,7 +16,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/lib/bsnmpclient.3 b/contrib/bsnmp/lib/bsnmpclient.3
index d4af60e..7a13a89 100644
--- a/contrib/bsnmp/lib/bsnmpclient.3
+++ b/contrib/bsnmp/lib/bsnmpclient.3
@@ -7,7 +7,7 @@
.\" All rights reserved.
.\"
.\" Author: Harti Brandt <harti@FreeBSD.org>
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -16,7 +16,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/lib/bsnmplib.3 b/contrib/bsnmp/lib/bsnmplib.3
index 12d676a..76b4bd4 100644
--- a/contrib/bsnmp/lib/bsnmplib.3
+++ b/contrib/bsnmp/lib/bsnmplib.3
@@ -13,7 +13,7 @@
.\" All rights reserved.
.\"
.\" Author: Harti Brandt <harti@FreeBSD.org>
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -22,7 +22,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/lib/snmp.c b/contrib/bsnmp/lib/snmp.c
index 5354443..339853b 100644
--- a/contrib/bsnmp/lib/snmp.c
+++ b/contrib/bsnmp/lib/snmp.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Copyright (c) 2010 The FreeBSD Foundation
* All rights reserved.
*
@@ -19,7 +19,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -682,7 +682,7 @@ snmp_pdu_snoop(const struct asn_buf *b0)
struct asn_buf b = *b0;
/* <0x10|0x20> <len> <data...> */
-
+
if (b.asn_len == 0)
return (0);
if (b.asn_cptr[0] != (ASN_TYPE_SEQUENCE | ASN_TYPE_CONSTRUCTED)) {
@@ -757,7 +757,7 @@ snmp_pdu_encode_header(struct asn_buf *b, struct snmp_pdu *pdu)
if (asn_put_temp_header(b, (ASN_TYPE_SEQUENCE |
ASN_TYPE_CONSTRUCTED), &v3_hdr_ptr) != ASN_ERR_OK)
return (SNMP_CODE_FAILED);
-
+
if (asn_put_integer(b, pdu->identifier) != ASN_ERR_OK)
return (SNMP_CODE_FAILED);
diff --git a/contrib/bsnmp/lib/snmp.h b/contrib/bsnmp/lib/snmp.h
index 4657336..61e783e 100644
--- a/contrib/bsnmp/lib/snmp.h
+++ b/contrib/bsnmp/lib/snmp.h
@@ -4,14 +4,14 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Copyright (c) 2010 The FreeBSD Foundation
* All rights reserved.
*
* Portions of this software were developed by Shteryana Sotirova Shopova
* under sponsorship from the FreeBSD Foundation.
*
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -20,7 +20,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/lib/snmpagent.c b/contrib/bsnmp/lib/snmpagent.c
index a425c37..8393aec 100644
--- a/contrib/bsnmp/lib/snmpagent.c
+++ b/contrib/bsnmp/lib/snmpagent.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -515,7 +515,7 @@ snmp_getbulk(struct snmp_pdu *pdu, struct asn_buf *resp_b,
/* PDU is full */
goto done;
- if (cnt == 0)
+ if (cnt == 0)
result = do_getnext(&context, &pdu->bindings[i],
&resp->bindings[resp->nbindings], pdu);
else
@@ -689,7 +689,7 @@ snmp_set(struct snmp_pdu *pdu, struct asn_buf *resp_b,
if (snmp_pdu_encode_header(resp_b, resp))
return (SNMP_RET_IGN);
- /*
+ /*
* 1. Find all nodes, check that they are writeable and
* that the syntax is ok, copy over the binding to the response.
*/
@@ -967,7 +967,7 @@ snmp_dep_lookup(struct snmp_context *ctx, const struct asn_oid *obj,
/*
* Make an error response from a PDU. We do this without decoding the
* variable bindings. This means we can sent the junk back to a caller
- * that has sent us junk in the first place.
+ * that has sent us junk in the first place.
*/
enum snmp_ret
snmp_make_errresp(const struct snmp_pdu *pdu, struct asn_buf *pdu_b,
diff --git a/contrib/bsnmp/lib/snmpagent.h b/contrib/bsnmp/lib/snmpagent.h
index 66019c9..204b517 100644
--- a/contrib/bsnmp/lib/snmpagent.h
+++ b/contrib/bsnmp/lib/snmpagent.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/lib/snmpclient.c b/contrib/bsnmp/lib/snmpclient.c
index 95d3b68..03e5cbf 100644
--- a/contrib/bsnmp/lib/snmpclient.c
+++ b/contrib/bsnmp/lib/snmpclient.c
@@ -68,7 +68,7 @@
struct snmp_client snmp_client;
/* List of all outstanding requests */
-struct sent_pdu {
+struct sent_pdu {
int reqid;
struct snmp_pdu *pdu;
struct timeval time;
@@ -510,7 +510,7 @@ table_check_response(struct tabwork *work, const struct snmp_pdu *resp)
table_free(work, 1);
return (-2);
}
-
+
continue;
}
if (!asn_is_suboid(&work->descr->table, &b->var) ||
@@ -754,7 +754,7 @@ snmp_oid_append(struct asn_oid *oid, const char *fmt, ...)
ret = 0;
while (*fmt != '\0') {
switch (*fmt++) {
- case 'i':
+ case 'i':
/* just an integer more */
if (oid->len + 1 > ASN_MAXOIDLEN) {
warnx("%s: OID too long for integer", __func__);
@@ -804,7 +804,7 @@ snmp_oid_append(struct asn_oid *oid, const char *fmt, ...)
break;
case 'b':
- /* append `size` characters */
+ /* append `size` characters */
str = (const u_char *)va_arg(va, const char *);
if (oid->len + size > ASN_MAXOIDLEN) {
warnx("%s: OID too long for string", __func__);
@@ -852,7 +852,7 @@ snmp_client_init(struct snmp_client *c)
strcpy(c->read_community, "public");
strcpy(c->write_community, "private");
-
+
c->security_model = SNMP_SECMODEL_USM;
strcpy(c->cname, "");
@@ -863,7 +863,7 @@ snmp_client_init(struct snmp_client *c)
c->txbuflen = c->rxbuflen = 10000;
c->fd = -1;
-
+
c->max_reqid = INT32_MAX;
c->min_reqid = 0;
c->next_reqid = 0;
diff --git a/contrib/bsnmp/lib/snmpclient.h b/contrib/bsnmp/lib/snmpclient.h
index 619f726..e7454b1 100644
--- a/contrib/bsnmp/lib/snmpclient.h
+++ b/contrib/bsnmp/lib/snmpclient.h
@@ -5,7 +5,7 @@
*
* Author: Harti Brandt <harti@freebsd.org>
* Kendy Kutzner
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -14,7 +14,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -59,7 +59,7 @@ typedef void (*snmp_send_cb_f)(struct snmp_pdu *, struct snmp_pdu *, void *);
typedef void (*snmp_timeout_cb_f)(void * );
/* timeout start function */
-typedef void *(*snmp_timeout_start_f)(struct timeval *timeout,
+typedef void *(*snmp_timeout_start_f)(struct timeval *timeout,
snmp_timeout_cb_f callback, void *);
/* timeout stop function */
diff --git a/contrib/bsnmp/lib/snmpcrypto.c b/contrib/bsnmp/lib/snmpcrypto.c
index 05860d6..82c8660 100644
--- a/contrib/bsnmp/lib/snmpcrypto.c
+++ b/contrib/bsnmp/lib/snmpcrypto.c
@@ -322,7 +322,7 @@ snmp_calc_keychange(struct snmp_user *user, uint8_t *keychange)
for (i = 0; i < keylen / 4; i++)
rvalue[i] = random();
-
+
memcpy(keychange, user->auth_key, keylen);
memcpy(keychange + keylen, rvalue, keylen);
diff --git a/contrib/bsnmp/lib/snmppriv.h b/contrib/bsnmp/lib/snmppriv.h
index c0e4479..5b66992 100644
--- a/contrib/bsnmp/lib/snmppriv.h
+++ b/contrib/bsnmp/lib/snmppriv.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/lib/support.c b/contrib/bsnmp/lib/support.c
index 391c152..6a759b3 100644
--- a/contrib/bsnmp/lib/support.c
+++ b/contrib/bsnmp/lib/support.c
@@ -1,10 +1,10 @@
-/*
+/*
* Copyright (C) 2004
* Hartmut Brandt.
* All rights reserved.
- *
+ *
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/lib/support.h b/contrib/bsnmp/lib/support.h
index 415c85b..29dbe4d 100644
--- a/contrib/bsnmp/lib/support.h
+++ b/contrib/bsnmp/lib/support.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII.c b/contrib/bsnmp/snmp_mibII/mibII.c
index 9079d1d..3656541 100644
--- a/contrib/bsnmp/snmp_mibII/mibII.c
+++ b/contrib/bsnmp/snmp_mibII/mibII.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -1228,7 +1228,7 @@ mib_fetch_rtab(int af, int info, int arg, size_t *lenp)
return (NULL);
}
buf = newbuf;
-
+
if (sysctl(name, 6, buf, lenp, NULL, 0) == 0)
break;
@@ -1329,7 +1329,7 @@ mib_arp_update(void)
in_update_arp = 0;
return;
}
-
+
next = buf;
while (next < buf + needed) {
rtm = (struct rt_msghdr *)(void *)next;
@@ -1521,7 +1521,7 @@ mib_unmodify_ifa(struct mibifa *ifa)
}
/*
- * Modify an IFA.
+ * Modify an IFA.
*/
int
mib_modify_ifa(struct mibifa *ifa)
diff --git a/contrib/bsnmp/snmp_mibII/mibII.h b/contrib/bsnmp/snmp_mibII/mibII.h
index f7b230d..4d82530 100644
--- a/contrib/bsnmp/snmp_mibII/mibII.h
+++ b/contrib/bsnmp/snmp_mibII/mibII.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_begemot.c b/contrib/bsnmp/snmp_mibII/mibII_begemot.c
index b502e95..6937e4c 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_begemot.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_begemot.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_ifmib.c b/contrib/bsnmp/snmp_mibII/mibII_ifmib.c
index fb2c620..7eb01c4 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_ifmib.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_ifmib.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_ifstack.c b/contrib/bsnmp/snmp_mibII/mibII_ifstack.c
index ac3ffeb..38c07c2 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_ifstack.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_ifstack.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_interfaces.c b/contrib/bsnmp/snmp_mibII/mibII_interfaces.c
index 9bd7942..c0f61c7 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_interfaces.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_interfaces.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_ip.c b/contrib/bsnmp/snmp_mibII/mibII_ip.c
index 1e33dc9..8290eeb 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_ip.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_ip.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_ipaddr.c b/contrib/bsnmp/snmp_mibII/mibII_ipaddr.c
index d1821ec..ecf67f2 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_ipaddr.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_ipaddr.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_nettomedia.c b/contrib/bsnmp/snmp_mibII/mibII_nettomedia.c
index 91c9d03..0a05859 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_nettomedia.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_nettomedia.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_rcvaddr.c b/contrib/bsnmp/snmp_mibII/mibII_rcvaddr.c
index 616732f..693901a 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_rcvaddr.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_rcvaddr.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_route.c b/contrib/bsnmp/snmp_mibII/mibII_route.c
index 710ae86..2d449a3 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_route.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_route.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -257,7 +257,7 @@ mib_fetch_route(void)
continue;
mib_extract_addrs(rtm->rtm_addrs, (u_char *)(rtm + 1), addrs);
-
+
mib_sroute_process(rtm, addrs[RTAX_GATEWAY], addrs[RTAX_DST],
addrs[RTAX_NETMASK]);
}
diff --git a/contrib/bsnmp/snmp_mibII/mibII_tcp.c b/contrib/bsnmp/snmp_mibII/mibII_tcp.c
index 913a537..e0a07a7 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_tcp.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_tcp.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_tree.def b/contrib/bsnmp/snmp_mibII/mibII_tree.def
index d377538..5a2abb7 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_tree.def
+++ b/contrib/bsnmp/snmp_mibII/mibII_tree.def
@@ -4,7 +4,7 @@
# All rights reserved.
#
# Author: Harti Brandt <harti@freebsd.org>
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
@@ -13,7 +13,7 @@
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-#
+#
# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/mibII_udp.c b/contrib/bsnmp/snmp_mibII/mibII_udp.c
index 08e3dd1..5682974 100644
--- a/contrib/bsnmp/snmp_mibII/mibII_udp.c
+++ b/contrib/bsnmp/snmp_mibII/mibII_udp.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/snmp_mibII.3 b/contrib/bsnmp/snmp_mibII/snmp_mibII.3
index d1b5ec3..36653e6 100644
--- a/contrib/bsnmp/snmp_mibII/snmp_mibII.3
+++ b/contrib/bsnmp/snmp_mibII/snmp_mibII.3
@@ -7,7 +7,7 @@
.\" All rights reserved.
.\"
.\" Author: Harti Brandt <harti@FreeBSD.org>
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -16,7 +16,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_mibII/snmp_mibII.h b/contrib/bsnmp/snmp_mibII/snmp_mibII.h
index 91e552e..5df80c8 100644
--- a/contrib/bsnmp/snmp_mibII/snmp_mibII.h
+++ b/contrib/bsnmp/snmp_mibII/snmp_mibII.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_ntp/NTP-MIB.txt b/contrib/bsnmp/snmp_ntp/NTP-MIB.txt
index ef51470..37418a7 100644
--- a/contrib/bsnmp/snmp_ntp/NTP-MIB.txt
+++ b/contrib/bsnmp/snmp_ntp/NTP-MIB.txt
@@ -5,7 +5,7 @@
NTP-MIB DEFINITIONS ::= BEGIN
IMPORTS
- Integer32, IpAddress, MODULE-IDENTITY, OBJECT-TYPE, Unsigned32,
+ Integer32, IpAddress, MODULE-IDENTITY, OBJECT-TYPE, Unsigned32,
enterprises
FROM SNMPv2-SMI
@@ -14,9 +14,9 @@ IMPORTS
ntpMIB MODULE-IDENTITY
LAST-UPDATED "199707251530Z"
- ORGANIZATION
+ ORGANIZATION
"University of Delaware"
- CONTACT-INFO
+ CONTACT-INFO
"Adarsh Sethi
Department of Computer & Information Sciences
University of Delaware
@@ -30,7 +30,7 @@ ntpMIB MODULE-IDENTITY
Newark, DE 19716
Tel: +1 302 831 ????
E-mail: mills@ee.udel.edu"
- DESCRIPTION
+ DESCRIPTION
"This MIB module defines a MIB which provides mechanisms to
monitor and control an NTP server."
::= { udel 3 }
@@ -60,18 +60,18 @@ ntpFilter OBJECT IDENTIFIER
NTPTimeStamp ::= TEXTUAL-CONVENTION
DISPLAY-HINT "4x.4x"
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
SYNTAX OCTET STRING (SIZE(8))
NTPLeapIndicator ::= TEXTUAL-CONVENTION
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
SYNTAX INTEGER {
noWarning(0),
addSecond(1),
- subtractSecond(2),
+ subtractSecond(2),
alarm(3) }
--
@@ -82,7 +82,7 @@ ntpSysLeap OBJECT-TYPE
SYNTAX NTPLeapIndicator
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" two-bit code warning of an impending leap
second to be inserted in the NTP timescale."
::= { ntpSystem 1 }
@@ -91,7 +91,7 @@ ntpSysStratum OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" indicating the stratum of the local clock.
0, unspecified
1, primary reference (e.g.,, calibrated atomic clock,
@@ -103,7 +103,7 @@ ntpSysPrecision OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"signed integer indicating the precision
of the various clocks, in seconds to the nearest power
of two."
@@ -113,7 +113,7 @@ ntpSysRootDelay OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the total roundtrip delay to the primary
reference source at the root of the synchronization
subnet, in seconds"
@@ -123,7 +123,7 @@ ntpSysRootDispersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the maximum error relative to the primary
reference source at the root of the synchronization
subnet, in seconds. Only positive values greater
@@ -134,7 +134,7 @@ ntpSysRefId OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the particular reference clock. In the case of
stratum 0 (unspecified) or stratum 1 (primary reference
source), this is a four-octet, left-justified,zero-padded
@@ -147,7 +147,7 @@ ntpSysRefTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the local time when the local clock was last
updated. If the local clock has neverbeen synchronized,
the value is zero."
@@ -157,7 +157,7 @@ ntpSysPoll OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the minimum interval between transmitted
messages, in seconds as a power of two. For instance,
a value of six indicates a minimum interval of 64 seconds."
@@ -167,7 +167,7 @@ ntpSysPeer OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the current synchronization source. Usually
this will be a pointer to a structure containing the peer
variables. The special value NULL indicates there is no
@@ -178,7 +178,7 @@ ntpSysPhase OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpSystem 10 }
@@ -186,7 +186,7 @@ ntpSysFreq OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpSystem 11 }
@@ -194,7 +194,7 @@ ntpSysError OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpSystem 12 }
@@ -202,7 +202,7 @@ ntpSysClock OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the current local time. Local time is derived
from the hardware clock of the particular machine and
increments at intervals depending on the design used."
@@ -212,7 +212,7 @@ ntpSysSystem OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the type of the local Operating System"
::= { ntpSystem 14 }
@@ -220,7 +220,7 @@ ntpSysProcessor OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the type of the local Processor"
::= { ntpSystem 15 }
@@ -236,7 +236,7 @@ ntpPeersVarTable OBJECT-TYPE
SYNTAX SEQUENCE OF NtpPeersVarEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpPeers 1 }
@@ -244,7 +244,7 @@ ntpPeersVarEntry OBJECT-TYPE
SYNTAX NtpPeersVarEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
INDEX { ntpPeersAssocId }
::= { ntpPeersVarTable 1 }
@@ -281,7 +281,7 @@ ntpPeersAssocId OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpPeersVarEntry 1 }
@@ -289,7 +289,7 @@ ntpPeersConfigured OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" This is a bit indicating that the association
was created from configuration information and should not
be demobilized if the peer becomes unreachable."
@@ -299,7 +299,7 @@ ntpPeersPeerAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the Internet address of the peer"
::= { ntpPeersVarEntry 3 }
@@ -307,7 +307,7 @@ ntpPeersPeerPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" 16-bit port number of the peer."
::= { ntpPeersVarEntry 4 }
@@ -315,7 +315,7 @@ ntpPeersHostAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the Internet address of the host"
::= { ntpPeersVarEntry 5 }
@@ -323,7 +323,7 @@ ntpPeersHostPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" 16-bit port number of the host"
::= { ntpPeersVarEntry 6 }
@@ -331,7 +331,7 @@ ntpPeersLeap OBJECT-TYPE
SYNTAX NTPLeapIndicator
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" two-bit code warning of an impending leap
second to be inserted in the NTP timescale."
::= { ntpPeersVarEntry 7 }
@@ -339,17 +339,17 @@ ntpPeersLeap OBJECT-TYPE
ntpPeersMode OBJECT-TYPE
SYNTAX INTEGER {
unspecified(0),
- symmetricActive(1),
+ symmetricActive(1),
symmetricPassive(2),
client(3),
- server(4),
+ server(4),
broadcast(5),
reservedControl(6),
reservedPrivate(7)
}
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the association mode,with values coded as
follows:
0, unspecified
@@ -367,7 +367,7 @@ ntpPeersStratum OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" indicating the stratum of the peer clock.
0, unspecified
1, primary reference (e.g.,, calibrated atomic clock,
@@ -379,7 +379,7 @@ ntpPeersPeerPoll OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"poll interval of the peer"
::= { ntpPeersVarEntry 10 }
@@ -387,7 +387,7 @@ ntpPeersHostPoll OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"poll interval of the host"
::= { ntpPeersVarEntry 11 }
@@ -395,7 +395,7 @@ ntpPeersPrecision OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the same as the systemPrecision except this is
for the peer"
::= { ntpPeersVarEntry 12 }
@@ -404,7 +404,7 @@ ntpPeersRootDelay OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the same as the systemRootDealy except this is for
the peer"
::= { ntpPeersVarEntry 13 }
@@ -413,7 +413,7 @@ ntpPeersRootDispersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the same as the systemDispersion except this is for
the peer"
::= { ntpPeersVarEntry 14 }
@@ -422,7 +422,7 @@ ntpPeersRefId OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the same as the systemRefid except this is for
the peer"
::= { ntpPeersVarEntry 15 }
@@ -431,7 +431,7 @@ ntpPeersRefTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the same as the systemRefTime except this is for
the peer"
::= { ntpPeersVarEntry 16 }
@@ -440,7 +440,7 @@ ntpPeersOrgTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" the local time at the peer when its latest
NTP message was sent. If the peer becomes unreachable the
value is set to zero."
@@ -450,7 +450,7 @@ ntpPeersReceiveTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the local time when the latest NTP message
from the peer arrived. If the peer becomes unreachable the
value is set to zero."
@@ -460,7 +460,7 @@ ntpPeersTransmitTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the local time at which the NTP message
departed the sender."
::= { ntpPeersVarEntry 19 }
@@ -469,7 +469,7 @@ ntpPeersUpdateTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
" "
::= { ntpPeersVarEntry 20 }
@@ -477,7 +477,7 @@ ntpPeersReach OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"a shift register of NTP.WINDOW bits used to determine
the reachability status of the peer, with bits entering
from the least significant (rightmost) end. A peer is
@@ -489,7 +489,7 @@ ntpPeersTimer OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpPeersVarEntry 22 }
@@ -497,7 +497,7 @@ ntpPeersOffset OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpPeersVarEntry 23 }
@@ -505,7 +505,7 @@ ntpPeersDelay OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpPeersVarEntry 24 }
@@ -513,7 +513,7 @@ ntpPeersDispersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpPeersVarEntry 25 }
@@ -532,7 +532,7 @@ ntpFilterPeersVarTable OBJECT-TYPE
SYNTAX SEQUENCE OF NtpFilterPeersVarEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
"This table is an extension of the Peer Variables Table
in the Peer Group."
::= { ntpFilter 1 }
@@ -541,7 +541,7 @@ ntpFilterPeersVarEntry OBJECT-TYPE
SYNTAX NtpFilterPeersVarEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
AUGMENTS { ntpPeersVarEntry }
::= { ntpFilterPeersVarTable 1 }
@@ -554,7 +554,7 @@ ntpFilterValidEntries OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"The number of valid entries for a peer in the Filter Register Table."
::= { ntpFilterPeersVarEntry 1 }
@@ -566,7 +566,7 @@ ntpFilterRegisterTable OBJECT-TYPE
SYNTAX SEQUENCE OF NtpFilterRegisterEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpFilter 2 }
@@ -574,7 +574,7 @@ ntpFilterRegisterEntry OBJECT-TYPE
SYNTAX NtpFilterRegisterEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
INDEX { ntpPeersAssocId, ntpFilterIndex }
::= { ntpFilterRegisterTable 1 }
@@ -590,7 +590,7 @@ ntpFilterIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpFilterRegisterEntry 1 }
@@ -598,7 +598,7 @@ ntpFilterPeersOffset OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the offset of the peer clock relative to the
local clock in seconds"
::= { ntpFilterRegisterEntry 2 }
@@ -607,7 +607,7 @@ ntpFilterPeersDelay OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"roundtrip delay of the peer clock relative to the
local clock over the network path between them, in seconds.
this variable can take on both positive and negative values,
@@ -618,7 +618,7 @@ ntpFilterPeersDispersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"the maximum error of the peer clock relative to the
local clock over the network path between them, in seconds.
Only positive values greater than zero are possible."
diff --git a/contrib/bsnmp/snmp_ntp/NTP-PROXY-MIB.txt b/contrib/bsnmp/snmp_ntp/NTP-PROXY-MIB.txt
index 233dfec..a356992 100644
--- a/contrib/bsnmp/snmp_ntp/NTP-PROXY-MIB.txt
+++ b/contrib/bsnmp/snmp_ntp/NTP-PROXY-MIB.txt
@@ -8,7 +8,7 @@ IMPORTS
NTPLeapIndicator, NTPTimeStamp
FROM NTP-MIB
- Integer32, IpAddress, MODULE-IDENTITY, OBJECT-TYPE, Unsigned32,
+ Integer32, IpAddress, MODULE-IDENTITY, OBJECT-TYPE, Unsigned32,
enterprises
FROM SNMPv2-SMI
@@ -17,23 +17,23 @@ IMPORTS
ntpProxyMIB MODULE-IDENTITY
LAST-UPDATED "199707251540Z"
- ORGANIZATION
+ ORGANIZATION
"University of Delaware"
- CONTACT-INFO
+ CONTACT-INFO
"Adarsh Sethi
Department of Computer & Information Sciences
University of Delaware
Newark, DE 19716
Tel: +1 302 831 1945
E-mail: sethi@cis.udel.edu
-
+
David Mills
Department of Electrical Engineering
University of Delaware
Newark, DE 19716
Tel: +1 302 831 ????
E-mail: mills@ee.udel.edu"
- DESCRIPTION
+ DESCRIPTION
"This MIB module defines a MIB which provides mechanisms to
monitor and control many NTP servers via a Proxy Agent."
::= { enterprises 1277 4 }
@@ -58,7 +58,7 @@ ntpProxyControl OBJECT IDENTIFIER
NTPRowStatus ::= TEXTUAL-CONVENTION
STATUS current
- DESCRIPTION
+ DESCRIPTION
"The NTPRowStatus textual convention is modeled after the
RowStatus textual convention of RFC 1903, but is simpler
because it only allows one create operation (the create-
@@ -81,7 +81,7 @@ NTPRowStatus ::= TEXTUAL-CONVENTION
create(3)
}
---
+--
-- Control group
--
@@ -93,7 +93,7 @@ ntpProxyControlTable OBJECT-TYPE
SYNTAX SEQUENCE OF NtpProxyControlEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyControl 1 }
@@ -101,7 +101,7 @@ ntpProxyControlEntry OBJECT-TYPE
SYNTAX NtpProxyControlEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
INDEX { ntpProxyServerIPAddr }
::= { ntpProxyControlTable 1 }
@@ -115,7 +115,7 @@ ntpProxyServerIPAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyControlEntry 1 }
@@ -123,7 +123,7 @@ ntpProxyControlStatus OBJECT-TYPE
SYNTAX NTPRowStatus
MAX-ACCESS read-create
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyControlEntry 2 }
@@ -135,7 +135,7 @@ ntpProxyServerSystemTable OBJECT-TYPE
SYNTAX SEQUENCE OF NtpProxyServerSystemEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyControl 2 }
@@ -143,7 +143,7 @@ ntpProxyServerSystemEntry OBJECT-TYPE
SYNTAX NtpProxyServerSystemEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
INDEX { ntpProxyServerIPAddr }
::= { ntpProxyServerSystemTable 1 }
@@ -170,7 +170,7 @@ ntpProxyServerSysLeap OBJECT-TYPE
SYNTAX NTPLeapIndicator
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 1 }
@@ -178,7 +178,7 @@ ntpProxyServerSysStratum OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 2 }
@@ -186,7 +186,7 @@ ntpProxyServerSysPrecision OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 3 }
@@ -194,7 +194,7 @@ ntpProxyServerSysRootDelay OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 4 }
@@ -202,7 +202,7 @@ ntpProxyServerSysRootDispersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 5 }
@@ -210,7 +210,7 @@ ntpProxyServerSysRefId OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 6 }
@@ -218,7 +218,7 @@ ntpProxyServerSysRefTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 7 }
@@ -226,7 +226,7 @@ ntpProxyServerSysPoll OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 8 }
@@ -234,7 +234,7 @@ ntpProxyServerSysPeer OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 9 }
@@ -242,7 +242,7 @@ ntpProxyServerSysPhase OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 10 }
@@ -250,7 +250,7 @@ ntpProxyServerSysFreq OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 11 }
@@ -258,7 +258,7 @@ ntpProxyServerSysError OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 12 }
@@ -266,7 +266,7 @@ ntpProxyServerSysClock OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 13 }
@@ -274,7 +274,7 @@ ntpProxyServerSysSystem OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 14 }
@@ -282,7 +282,7 @@ ntpProxyServerSysProcessor OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyServerSystemEntry 15 }
@@ -293,7 +293,7 @@ ntpProxyPeersVarTable OBJECT-TYPE
SYNTAX SEQUENCE OF NtpProxyPeersVarEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyControl 3 }
@@ -301,7 +301,7 @@ ntpProxyPeersVarEntry OBJECT-TYPE
SYNTAX NtpProxyPeersVarEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
INDEX { ntpProxyServerIPAddr, ntpProxyPeersAssocId }
::= { ntpProxyPeersVarTable 1 }
@@ -339,7 +339,7 @@ ntpProxyPeersAssocId OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 1 }
@@ -347,7 +347,7 @@ ntpProxyPeersConfigured OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 2 }
@@ -355,7 +355,7 @@ ntpProxyPeersPeerAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 3 }
@@ -363,7 +363,7 @@ ntpProxyPeersPeerPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 4 }
@@ -371,7 +371,7 @@ ntpProxyPeersHostAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 5 }
@@ -379,7 +379,7 @@ ntpProxyPeersHostPort OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 6 }
@@ -387,23 +387,23 @@ ntpProxyPeersLeap OBJECT-TYPE
SYNTAX NTPLeapIndicator
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 7 }
ntpProxyPeersMode OBJECT-TYPE
SYNTAX INTEGER {
unspecified(0),
- symmetricActive(1),
+ symmetricActive(1),
symmetricPassive(2),
client(3),
- server(4),
+ server(4),
broadcast(5),
reservedControl(6),
reservedPrivate(7) }
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 8 }
@@ -411,7 +411,7 @@ ntpProxyPeersStratum OBJECT-TYPE
SYNTAX Integer32 (0..255)
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 9 }
@@ -419,7 +419,7 @@ ntpProxyPeersPeerPoll OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 10 }
@@ -427,7 +427,7 @@ ntpProxyPeersHostPoll OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 11 }
@@ -435,7 +435,7 @@ ntpProxyPeersPrecision OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 12 }
@@ -443,7 +443,7 @@ ntpProxyPeersRootDelay OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 13 }
@@ -451,7 +451,7 @@ ntpProxyPeersRootDispersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 14 }
@@ -459,7 +459,7 @@ ntpProxyPeersRefId OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 15 }
@@ -467,7 +467,7 @@ ntpProxyPeersRefTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 16 }
@@ -475,7 +475,7 @@ ntpProxyPeersOrgTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 17 }
@@ -483,7 +483,7 @@ ntpProxyPeersReceiveTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 18 }
@@ -491,7 +491,7 @@ ntpProxyPeersTransmitTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 19 }
@@ -499,7 +499,7 @@ ntpProxyPeersUpdateTime OBJECT-TYPE
SYNTAX NTPTimeStamp
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 20 }
@@ -507,7 +507,7 @@ ntpProxyPeersReach OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 21 }
@@ -515,7 +515,7 @@ ntpProxyPeersTimer OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 22 }
@@ -523,7 +523,7 @@ ntpProxyPeersOffset OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 23 }
@@ -531,7 +531,7 @@ ntpProxyPeersDelay OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 24 }
@@ -539,7 +539,7 @@ ntpProxyPeersDispersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyPeersVarEntry 25 }
@@ -547,7 +547,7 @@ ntpProxyPeersFilterValidEntries OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
"The number of valid entries for a peer in the Proxy Filter
Register Table. This number can be zero."
::= { ntpProxyPeersVarEntry 26 }
@@ -560,7 +560,7 @@ ntpProxyFilterRegisterTable OBJECT-TYPE
SYNTAX SEQUENCE OF NtpProxyFilterRegisterEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyControl 4 }
@@ -568,9 +568,9 @@ ntpProxyFilterRegisterEntry OBJECT-TYPE
SYNTAX NtpProxyFilterRegisterEntry
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
- INDEX { ntpProxyServerIPAddr, ntpProxyPeersAssocId,
+ INDEX { ntpProxyServerIPAddr, ntpProxyPeersAssocId,
ntpProxyFilterIndex }
::= { ntpProxyFilterRegisterTable 1 }
@@ -585,7 +585,7 @@ ntpProxyFilterIndex OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS not-accessible
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyFilterRegisterEntry 1 }
@@ -593,7 +593,7 @@ ntpProxyFilterPeersOffset OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyFilterRegisterEntry 2 }
@@ -601,7 +601,7 @@ ntpProxyFilterPeersDelay OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyFilterRegisterEntry 3 }
@@ -609,7 +609,7 @@ ntpProxyFilterPeersDispersion OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
- DESCRIPTION
+ DESCRIPTION
""
::= { ntpProxyFilterRegisterEntry 4 }
diff --git a/contrib/bsnmp/snmp_target/snmp_target.3 b/contrib/bsnmp/snmp_target/snmp_target.3
index 626bb78..c9e01a3 100644
--- a/contrib/bsnmp/snmp_target/snmp_target.3
+++ b/contrib/bsnmp/snmp_target/snmp_target.3
@@ -1,7 +1,7 @@
.\"-
.\" Copyright (C) 2010 The FreeBSD Foundation
.\" All rights reserved.
-.\"
+.\"
.\" This documentation was written by Shteryana Sotirova Shopova under
.\" sponsorship from the FreeBSD Foundation.
.\"
@@ -13,7 +13,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_usm/snmp_usm.3 b/contrib/bsnmp/snmp_usm/snmp_usm.3
index ceb62e4..03959ed 100644
--- a/contrib/bsnmp/snmp_usm/snmp_usm.3
+++ b/contrib/bsnmp/snmp_usm/snmp_usm.3
@@ -1,7 +1,7 @@
.\"-
.\" Copyright (C) 2010 The FreeBSD Foundation
.\" All rights reserved.
-.\"
+.\"
.\" This documentation was written by Shteryana Sotirova Shopova under
.\" sponsorship from the FreeBSD Foundation.
.\"
@@ -13,7 +13,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_usm/usm_snmp.c b/contrib/bsnmp/snmp_usm/usm_snmp.c
index 6b7d0eb..c475940 100644
--- a/contrib/bsnmp/snmp_usm/usm_snmp.c
+++ b/contrib/bsnmp/snmp_usm/usm_snmp.c
@@ -179,7 +179,7 @@ op_usm_users(struct snmp_context *ctx, struct snmp_value *val,
case LEAF_usmUserCloneFrom:
if (uuser != NULL || usm_user_index_decode(&val->var,
- sub, eid, &elen, uname) < 0 ||
+ sub, eid, &elen, uname) < 0 ||
!(asn_is_suboid(&oid_usmUserSecurityName, &val->v.oid)))
return (SNMP_ERR_WRONG_VALUE);
if ((clone = usm_get_user(&val->v.oid, sub)) == NULL)
@@ -311,7 +311,7 @@ op_usm_users(struct snmp_context *ctx, struct snmp_value *val,
} else if (val->v.integer != RowStatus_active &&
val->v.integer != RowStatus_destroy)
return (SNMP_ERR_INCONS_VALUE);
-
+
uuser->status = val->v.integer;
break;
}
@@ -381,7 +381,7 @@ op_usm_users(struct snmp_context *ctx, struct snmp_value *val,
usm_delete_user(uuser);
break;
default:
- break;
+ break;
}
return (SNMP_ERR_NOERROR);
diff --git a/contrib/bsnmp/snmp_vacm/snmp_vacm.3 b/contrib/bsnmp/snmp_vacm/snmp_vacm.3
index dd57f7f..e1213d9 100644
--- a/contrib/bsnmp/snmp_vacm/snmp_vacm.3
+++ b/contrib/bsnmp/snmp_vacm/snmp_vacm.3
@@ -1,7 +1,7 @@
.\"-
.\" Copyright (C) 2010 The FreeBSD Foundation
.\" All rights reserved.
-.\"
+.\"
.\" This documentation was written by Shteryana Sotirova Shopova under
.\" sponsorship from the FreeBSD Foundation.
.\"
@@ -13,7 +13,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmp_vacm/vacm_snmp.c b/contrib/bsnmp/snmp_vacm/vacm_snmp.c
index cdec9f4..61142af 100644
--- a/contrib/bsnmp/snmp_vacm/vacm_snmp.c
+++ b/contrib/bsnmp/snmp_vacm/vacm_snmp.c
@@ -578,7 +578,7 @@ op_vacm_view(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub,
return (vacm_delete_view(view));
break;
default:
- break;
+ break;
}
return (SNMP_ERR_NOERROR);
@@ -683,7 +683,7 @@ vacm_append_access_rule_index(struct asn_oid *oid, uint sub,
const struct vacm_access *acl)
{
uint32_t i;
-
+
oid->len = sub + strlen(acl->group->groupname) +
strlen(acl->ctx_prefix) + 4;
@@ -776,7 +776,7 @@ vacm_get_next_access_rule(const struct asn_oid *oid __unused, uint sub __unused)
static int
vacm_view_index_decode(const struct asn_oid *oid, uint sub, char *vname,
struct asn_oid *view_oid)
-{
+{
uint32_t i;
int viod_off;
diff --git a/contrib/bsnmp/snmpd/BEGEMOT-MIB.txt b/contrib/bsnmp/snmpd/BEGEMOT-MIB.txt
index 6f878ff..9d99eab 100644
--- a/contrib/bsnmp/snmpd/BEGEMOT-MIB.txt
+++ b/contrib/bsnmp/snmpd/BEGEMOT-MIB.txt
@@ -4,7 +4,7 @@
-- All rights reserved.
--
-- Author: Harti Brandt <harti@freebsd.org>
---
+--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions
-- are met:
@@ -13,7 +13,7 @@
-- 2. Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
---
+--
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt b/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt
index 3262ada..d87e78e 100644
--- a/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt
+++ b/contrib/bsnmp/snmpd/BEGEMOT-SNMPD.txt
@@ -4,7 +4,7 @@
-- All rights reserved.
--
-- Author: Harti Brandt <harti@freebsd.org>
---
+--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions
-- are met:
@@ -13,7 +13,7 @@
-- 2. Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
---
+--
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/FOKUS-MIB.txt b/contrib/bsnmp/snmpd/FOKUS-MIB.txt
index 3f02f79..d4671e8 100644
--- a/contrib/bsnmp/snmpd/FOKUS-MIB.txt
+++ b/contrib/bsnmp/snmpd/FOKUS-MIB.txt
@@ -4,7 +4,7 @@
-- All rights reserved.
--
-- Author: Harti Brandt <harti@freebsd.org>
---
+--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions
-- are met:
@@ -13,7 +13,7 @@
-- 2. Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
---
+--
-- THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/action.c b/contrib/bsnmp/snmpd/action.c
index c780466..4f6f817 100644
--- a/contrib/bsnmp/snmpd/action.c
+++ b/contrib/bsnmp/snmpd/action.c
@@ -7,7 +7,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -16,7 +16,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -170,7 +170,7 @@ init_snmpd_engine(void)
} else {
memcpy(snmpd_engine.engine_id + snmpd_engine.engine_len,
hostid, strlen(hostid));
- snmpd_engine.engine_len += strlen(hostid);
+ snmpd_engine.engine_len += strlen(hostid);
}
free(hostid);
@@ -1073,7 +1073,7 @@ op_snmp_engine(struct snmp_context *ctx __unused, struct snmp_value *value,
ctx->scratch->int1 = snmpd_engine.max_msg_size;
snmpd_engine.max_msg_size = value->v.integer;
break;
-
+
default:
return (SNMP_ERR_NOT_WRITEABLE);
}
@@ -1103,7 +1103,7 @@ op_snmp_engine(struct snmp_context *ctx __unused, struct snmp_value *value,
snmpd_engine.engine_len = ctx->scratch->int1;
memcpy(snmpd_engine.engine_id,
ctx->scratch->ptr1, ctx->scratch->int1);
- }
+ }
free(ctx->scratch->ptr1);
}
return (SNMP_ERR_NOERROR);
diff --git a/contrib/bsnmp/snmpd/config.c b/contrib/bsnmp/snmpd/config.c
index 23e97bd..231aeb5 100644
--- a/contrib/bsnmp/snmpd/config.c
+++ b/contrib/bsnmp/snmpd/config.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/export.c b/contrib/bsnmp/snmpd/export.c
index 08fb672..60c3523 100644
--- a/contrib/bsnmp/snmpd/export.c
+++ b/contrib/bsnmp/snmpd/export.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/main.c b/contrib/bsnmp/snmpd/main.c
index cd9f0a5..3c4ded4 100644
--- a/contrib/bsnmp/snmpd/main.c
+++ b/contrib/bsnmp/snmpd/main.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Copyright (c) 2010 The FreeBSD Foundation
* All rights reserved.
*
@@ -19,7 +19,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/snmpd.config b/contrib/bsnmp/snmpd/snmpd.config
index 23db74c..2b93553 100644
--- a/contrib/bsnmp/snmpd/snmpd.config
+++ b/contrib/bsnmp/snmpd/snmpd.config
@@ -4,7 +4,7 @@
# All rights reserved.
#
# Author: Harti Brandt <harti@freebsd.org>
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
@@ -13,7 +13,7 @@
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-#
+#
# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/snmpd.h b/contrib/bsnmp/snmpd/snmpd.h
index e4ec208..1ebb8c1 100644
--- a/contrib/bsnmp/snmpd/snmpd.h
+++ b/contrib/bsnmp/snmpd/snmpd.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/snmpd.sh b/contrib/bsnmp/snmpd/snmpd.sh
index d64efc5..8e3e07f 100755
--- a/contrib/bsnmp/snmpd/snmpd.sh
+++ b/contrib/bsnmp/snmpd/snmpd.sh
@@ -5,7 +5,7 @@
# All rights reserved.
#
# Author: Harti Brandt <harti@freebsd.org>
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
@@ -14,7 +14,7 @@
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-#
+#
# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/snmpmod.3 b/contrib/bsnmp/snmpd/snmpmod.3
index 38b3cf1..80a50fc 100644
--- a/contrib/bsnmp/snmpd/snmpmod.3
+++ b/contrib/bsnmp/snmpd/snmpmod.3
@@ -7,7 +7,7 @@
.\" All rights reserved.
.\"
.\" Author: Harti Brandt <harti@FreeBSD.org>
-.\"
+.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
@@ -16,7 +16,7 @@
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\"
+.\"
.\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/snmpmod.h b/contrib/bsnmp/snmpd/snmpmod.h
index ad73566..bc9e412 100644
--- a/contrib/bsnmp/snmpd/snmpmod.h
+++ b/contrib/bsnmp/snmpd/snmpmod.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Copyright (c) 2010 The FreeBSD Foundation
* All rights reserved.
*
@@ -19,7 +19,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/trans_lsock.c b/contrib/bsnmp/snmpd/trans_lsock.c
index f9d4a32..1b4b2df 100644
--- a/contrib/bsnmp/snmpd/trans_lsock.c
+++ b/contrib/bsnmp/snmpd/trans_lsock.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/trans_lsock.h b/contrib/bsnmp/snmpd/trans_lsock.h
index 779f5ea..26e552e 100644
--- a/contrib/bsnmp/snmpd/trans_lsock.h
+++ b/contrib/bsnmp/snmpd/trans_lsock.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/trans_udp.c b/contrib/bsnmp/snmpd/trans_udp.c
index 3faef41..a41d3f0 100644
--- a/contrib/bsnmp/snmpd/trans_udp.c
+++ b/contrib/bsnmp/snmpd/trans_udp.c
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/trans_udp.h b/contrib/bsnmp/snmpd/trans_udp.h
index 29a96db..d383711 100644
--- a/contrib/bsnmp/snmpd/trans_udp.h
+++ b/contrib/bsnmp/snmpd/trans_udp.h
@@ -4,7 +4,7 @@
* All rights reserved.
*
* Author: Harti Brandt <harti@freebsd.org>
- *
+ *
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
@@ -13,7 +13,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/trap.c b/contrib/bsnmp/snmpd/trap.c
index 80379a4..a0f95d2 100644
--- a/contrib/bsnmp/snmpd/trap.c
+++ b/contrib/bsnmp/snmpd/trap.c
@@ -19,7 +19,7 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- *
+ *
* THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
diff --git a/contrib/bsnmp/snmpd/tree.def b/contrib/bsnmp/snmpd/tree.def
index b45817f..eb8dac2 100644
--- a/contrib/bsnmp/snmpd/tree.def
+++ b/contrib/bsnmp/snmpd/tree.def
@@ -4,7 +4,7 @@
# All rights reserved.
#
# Author: Harti Brandt <harti@freebsd.org>
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
@@ -13,7 +13,7 @@
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
-#
+#
# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -48,7 +48,7 @@ typedef RowStatus ENUM (
(1 system
#
# The standard System group
-#
+#
(1 sysDescr OCTETSTRING op_system_group GET)
(2 sysObjectId OID op_system_group GET)
(3 sysUpTime TIMETICKS op_system_group GET)
OpenPOWER on IntegriCloud