// GetConn gets the connection which holds the information received from the PROXY protocol.
GetConn gets the connection which holds the information received from the PROXY protocol.
// GetConn gets the connection which holds the information received from the PROXY protocol .
func GetConn(cx *layer4.Connection) net.Conn {
	if val := cx.GetVar("l4.proxy_protocol.conn"); val != nil {
		return val.(net.Conn)
	}
	return cx.Conn
}
func GetConn ( cx * layer4 . Connection ) net . Conn { if val := cx . GetVar ( " " ) ; val != nil { return val . ( net . Conn ) } return cx . Conn }
GetConn gets the connection which holds the information received from the PROXY protocol.
GetConn gets the connection which holds the information received from the PROXY protocol .