mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
style(9): clean up whitespace
MFC after: 3 days
This commit is contained in:
parent
2229fa01bc
commit
c5cf639fd9
1 changed files with 8 additions and 8 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue