mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ipfilter userland: Fix whitespace errors
Replace leading spaces with a tabs on affected lines. MFC after: 1 month
This commit is contained in:
parent
80030b6cc7
commit
5e13b104a4
6 changed files with 20 additions and 20 deletions
|
|
@ -1487,7 +1487,7 @@ static void topipstates(i6addr_t saddr, i6addr_t daddr, int sport, int dport,
|
|||
getmaxyx(stdscr, maxy, maxx);
|
||||
redraw = 1;
|
||||
handle_resize = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* stop program? */
|
||||
if (handle_break)
|
||||
|
|
|
|||
|
|
@ -143,10 +143,10 @@ void MD5Update (MD5_CTX *mdContext, unsigned char *inBuf, unsigned int inLen)
|
|||
/* transform if necessary */
|
||||
if (mdi == 0x40) {
|
||||
for (i = 0, ii = 0; i < 16; i++, ii += 4)
|
||||
in[i] = (((UINT4)mdContext->in[ii+3]) << 24) |
|
||||
(((UINT4)mdContext->in[ii+2]) << 16) |
|
||||
(((UINT4)mdContext->in[ii+1]) << 8) |
|
||||
((UINT4)mdContext->in[ii]);
|
||||
in[i] = (((UINT4)mdContext->in[ii+3]) << 24) |
|
||||
(((UINT4)mdContext->in[ii+2]) << 16) |
|
||||
(((UINT4)mdContext->in[ii+1]) << 8) |
|
||||
((UINT4)mdContext->in[ii]);
|
||||
Transform (mdContext->buf, in);
|
||||
mdi = 0;
|
||||
}
|
||||
|
|
@ -177,9 +177,9 @@ void MD5Final (unsigned char hash[], MD5_CTX *mdContext)
|
|||
/* append length in bits and transform */
|
||||
for (i = 0, ii = 0; i < 14; i++, ii += 4)
|
||||
in[i] = (((UINT4)mdContext->in[ii+3]) << 24) |
|
||||
(((UINT4)mdContext->in[ii+2]) << 16) |
|
||||
(((UINT4)mdContext->in[ii+1]) << 8) |
|
||||
((UINT4)mdContext->in[ii]);
|
||||
(((UINT4)mdContext->in[ii+2]) << 16) |
|
||||
(((UINT4)mdContext->in[ii+1]) << 8) |
|
||||
((UINT4)mdContext->in[ii]);
|
||||
Transform (mdContext->buf, in);
|
||||
|
||||
/* store buffer in digest */
|
||||
|
|
|
|||
|
|
@ -1089,7 +1089,7 @@ setnodeaddr(int type, int role, void *ptr, char *arg)
|
|||
} else if (type == IPLT_HASH) {
|
||||
iphtent_t *node = ptr;
|
||||
|
||||
node->ipe_family = family;
|
||||
node->ipe_family = family;
|
||||
node->ipe_unit = role;
|
||||
|
||||
#ifdef USE_INET6
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@
|
|||
*/
|
||||
int resolve(char *host, char *address)
|
||||
{
|
||||
struct hostent *hp;
|
||||
u_long add;
|
||||
struct hostent *hp;
|
||||
u_long add;
|
||||
|
||||
add = inet_addr(host);
|
||||
if (add == -1)
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ static const char rcsid[] = "@(#)$Id$";
|
|||
*/
|
||||
int resolve(char *host, char *address)
|
||||
{
|
||||
struct hostent *hp;
|
||||
u_long add;
|
||||
struct hostent *hp;
|
||||
u_long add;
|
||||
|
||||
add = inet_addr(host);
|
||||
if (add == -1)
|
||||
|
|
|
|||
|
|
@ -337,15 +337,15 @@ send_packet(int nfd, int mtu, ip_t *ip, struct in_addr gwip)
|
|||
ip_t *ip;
|
||||
struct in_addr gwip;
|
||||
{
|
||||
switch (ip->ip_p)
|
||||
{
|
||||
case IPPROTO_TCP :
|
||||
switch (ip->ip_p)
|
||||
{
|
||||
case IPPROTO_TCP :
|
||||
( return send_tcp(nfd, mtu, ip, gwip));
|
||||
case IPPROTO_UDP :
|
||||
case IPPROTO_UDP :
|
||||
( return send_udp(nfd, mtu, ip, gwip));
|
||||
case IPPROTO_ICMP :
|
||||
case IPPROTO_ICMP :
|
||||
( return send_icmp(nfd, mtu, ip, gwip));
|
||||
default :
|
||||
default :
|
||||
( return send_ip(nfd, mtu, ip, gwip, 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue