Skip to content

Commit

Permalink
include ipv4/ipv6 in gre inner protocol list
Browse files Browse the repository at this point in the history
  • Loading branch information
krawthekrow committed Oct 9, 2017
1 parent ed2e399 commit e45ba27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/protocol/gre.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ ffi.cdef[[
-- Class variables
gre._name = "gre"
gre._ulp = {
class_map = { [0x6558] = "lib.protocol.ethernet" },
class_map = {
[0x6558] = "lib.protocol.ethernet",
[0x0800] = "lib.protocol.ipv4",
[0x86dd] = "lib.protocol.ipv6",
},
method = 'protocol' }
gre:init(
{
Expand Down

0 comments on commit e45ba27

Please sign in to comment.