Skip to content

Commit

Permalink
vtep: add ENABLE_L7_PROXY to check in datapath
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Li <v.li@f5.com>
  • Loading branch information
vincentmli authored and joestringer committed Jun 3, 2022
1 parent fb0b5cb commit 4189d1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/datapath/linux/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,10 @@ func (h *HeaderfileWriter) WriteNodeConfig(w io.Writer, cfg *datapath.LocalNodeC
cDefinesMap["ENABLE_ICMP_RULE"] = "1"
}

if option.Config.EnableL7Proxy {
cDefinesMap["ENABLE_L7_PROXY"] = "1"
}

// Since golang maps are unordered, we sort the keys in the map
// to get a consistent written format to the writer. This maintains
// the consistency when we try to calculate hash for a datapath after
Expand Down

0 comments on commit 4189d1c

Please sign in to comment.