X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Fethernet.h;h=8bf2b03e52eb704c4ba1407202c50a810b98fbf2;hp=1cde1407dbaf49c0649524234624bb784d77779d;hb=aa9d61b5cd0d6dd8b911cfd06f6bb50ec028d0d1;hpb=c217d214f4f071c235bc7c463a1da6124e2570a6 diff --git a/lib/ethernet.h b/lib/ethernet.h index 1cde1407..8bf2b03e 100644 --- a/lib/ethernet.h +++ b/lib/ethernet.h @@ -13,9 +13,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __TINC_ETHERNET_H__ @@ -41,6 +41,10 @@ #define ETH_P_IPV6 0x86DD #endif +#ifndef ETH_P_8021Q +#define ETH_P_8021Q 0x8100 +#endif + #ifndef HAVE_STRUCT_ETHER_HEADER struct ether_header { uint8_t ether_dhost[ETH_ALEN];