svn commit: r310669 - head/usr.sbin/bsnmpd/modules/snmp_pf

Ngie Cooper ngie at FreeBSD.org
Wed Dec 28 06:10:59 UTC 2016


Author: ngie
Date: Wed Dec 28 06:10:58 2016
New Revision: 310669
URL: https://svnweb.freebsd.org/changeset/base/310669

Log:
  style(9): clean up whitespace
  
  MFC after:	3 days

Modified:
  head/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c

Modified: head/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
==============================================================================
--- head/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c	Wed Dec 28 05:43:14 2016	(r310668)
+++ head/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c	Wed Dec 28 06:10:58 2016	(r310669)
@@ -1640,20 +1640,20 @@ err:
 static int
 altq_is_enabled(int pfdev)
 {
-        struct pfioc_altq pa;
+	struct pfioc_altq pa;
 
 	errno = 0;
-        if (ioctl(pfdev, DIOCGETALTQS, &pa)) {
-                if (errno == ENODEV) {
+	if (ioctl(pfdev, DIOCGETALTQS, &pa)) {
+		if (errno == ENODEV) {
 			syslog(LOG_INFO, "No ALTQ support in kernel\n"
 			    "ALTQ related functions disabled\n");
-                        return (0);
-                } else
-                        syslog(LOG_ERR, "DIOCGETALTQS returned an error: %s",
+			return (0);
+		} else
+			syslog(LOG_ERR, "DIOCGETALTQS returned an error: %s",
 			    strerror(errno));
 			return (-1);
-        }
-        return (1);
+	}
+	return (1);
 }
 
 /*


More information about the svn-src-head mailing list