-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DHCP relay]: Add patch to always undef VLAN_TCI_PRESENT so as not to…
… treat VLAN-tagged packets differently (#1254)
- Loading branch information
Showing
5 changed files
with
40 additions
and
9 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
src/isc-dhcp/patch/0001-Always-undef-VLAN_TCI_PRESENT-so-as-not-to-treat-VLA.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From 7fe46584c3d9cb6b1ecdee47ff5ac2b777f96ec6 Mon Sep 17 00:00:00 2001 | ||
From: Joe LeVeque <jolevequ@microsoft.com> | ||
Date: Wed, 20 Dec 2017 02:18:10 +0000 | ||
Subject: [PATCH 1/4] Always undef VLAN_TCI_PRESENT so as not to treat | ||
VLAN-tagged packets differently | ||
|
||
--- | ||
configure.ac | 6 +++--- | ||
1 file changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 3f1415b..fcfeba0 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -600,9 +600,9 @@ AC_CHECK_MEMBER(struct msghdr.msg_control,, | ||
#include <sys/socket.h> | ||
]) | ||
|
||
-AC_CHECK_MEMBER(struct tpacket_auxdata.tp_vlan_tci, | ||
- [AC_DEFINE([VLAN_TCI_PRESENT], [1], [tpacket_auxdata.tp_vlan_tci present])] | ||
- ,, [#include <linux/if_packet.h>]) | ||
+#AC_CHECK_MEMBER(struct tpacket_auxdata.tp_vlan_tci, | ||
+# [AC_DEFINE([VLAN_TCI_PRESENT], [1], [tpacket_auxdata.tp_vlan_tci present])] | ||
+# ,, [#include <linux/if_packet.h>]) | ||
|
||
libbind= | ||
AC_ARG_WITH(libbind, | ||
-- | ||
2.1.4 | ||
|
4 changes: 2 additions & 2 deletions
4
...on-82-circuit-ID-and-remote-ID-fiel.patch → ...on-82-circuit-ID-and-remote-ID-fiel.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ning-name-of-physical-interface-tha.patch → ...ning-name-of-physical-interface-tha.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ng-port-alias-map-file-to-replace-p.patch → ...ng-port-alias-map-file-to-replace-p.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# This series applies on GIT commit ee3dffdda38a8cfc6ad2005d8d64a165d2a709ba | ||
0001-Customizable-Option-82-circuit-ID-and-remote-ID-fiel.patch | ||
0002-Support-for-obtaining-name-of-physical-interface-tha.patch | ||
0003-Support-for-loading-port-alias-map-file-to-replace-p.patch | ||
0001-Always-undef-VLAN_TCI_PRESENT-so-as-not-to-treat-VLA.patch | ||
0002-Customizable-Option-82-circuit-ID-and-remote-ID-fiel.patch | ||
0003-Support-for-obtaining-name-of-physical-interface-tha.patch | ||
0004-Support-for-loading-port-alias-map-file-to-replace-p.patch |