Add missing bracket in MAP-E FMR kernel support

SVN-Revision: 40830
This commit is contained in:
Steven Barth 2014-05-23 08:53:38 +00:00
parent 2381f4a7b0
commit 874b26933d
4 changed files with 8 additions and 8 deletions

View file

@ -207,7 +207,7 @@ index b05b609..c2216b0 100644
+ struct icmphdr *ih = (struct icmphdr*)(((u8*)dsth) + dsth->ihl * 4);
+
+ /* use icmp identifier as port */
+ if (((u8*)&ih) <= end &&
+ if (((u8*)&ih) <= end && (
+ (use_dest_addr && (
+ ih->type == ICMP_ECHOREPLY ||
+ ih->type == ICMP_TIMESTAMPREPLY ||
@ -218,7 +218,7 @@ index b05b609..c2216b0 100644
+ ih->type == ICMP_TIMESTAMP ||
+ ih->type == ICMP_INFO_REQUEST ||
+ ih->type == ICMP_ADDRESS)
+ ))
+ )))
+ portp = (u8*)&ih->un.echo.id;
+ }
+

View file

@ -207,7 +207,7 @@ index b05b609..c2216b0 100644
+ struct icmphdr *ih = (struct icmphdr*)(((u8*)dsth) + dsth->ihl * 4);
+
+ /* use icmp identifier as port */
+ if (((u8*)&ih) <= end &&
+ if (((u8*)&ih) <= end && (
+ (use_dest_addr && (
+ ih->type == ICMP_ECHOREPLY ||
+ ih->type == ICMP_TIMESTAMPREPLY ||
@ -218,7 +218,7 @@ index b05b609..c2216b0 100644
+ ih->type == ICMP_TIMESTAMP ||
+ ih->type == ICMP_INFO_REQUEST ||
+ ih->type == ICMP_ADDRESS)
+ ))
+ )))
+ portp = (u8*)&ih->un.echo.id;
+ }
+

View file

@ -207,7 +207,7 @@ index b05b609..c2216b0 100644
+ struct icmphdr *ih = (struct icmphdr*)(((u8*)dsth) + dsth->ihl * 4);
+
+ /* use icmp identifier as port */
+ if (((u8*)&ih) <= end &&
+ if (((u8*)&ih) <= end && (
+ (use_dest_addr && (
+ ih->type == ICMP_ECHOREPLY ||
+ ih->type == ICMP_TIMESTAMPREPLY ||
@ -218,7 +218,7 @@ index b05b609..c2216b0 100644
+ ih->type == ICMP_TIMESTAMP ||
+ ih->type == ICMP_INFO_REQUEST ||
+ ih->type == ICMP_ADDRESS)
+ ))
+ )))
+ portp = (u8*)&ih->un.echo.id;
+ }
+

View file

@ -207,7 +207,7 @@ index b05b609..c2216b0 100644
+ struct icmphdr *ih = (struct icmphdr*)(((u8*)dsth) + dsth->ihl * 4);
+
+ /* use icmp identifier as port */
+ if (((u8*)&ih) <= end &&
+ if (((u8*)&ih) <= end && (
+ (use_dest_addr && (
+ ih->type == ICMP_ECHOREPLY ||
+ ih->type == ICMP_TIMESTAMPREPLY ||
@ -218,7 +218,7 @@ index b05b609..c2216b0 100644
+ ih->type == ICMP_TIMESTAMP ||
+ ih->type == ICMP_INFO_REQUEST ||
+ ih->type == ICMP_ADDRESS)
+ ))
+ )))
+ portp = (u8*)&ih->un.echo.id;
+ }
+