diff --git a/daemon/go.mod b/daemon/go.mod index a8f02cc8..d42f97c8 100644 --- a/daemon/go.mod +++ b/daemon/go.mod @@ -14,6 +14,6 @@ require ( golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208 // indirect golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1 golang.org/x/text v0.3.0 // indirect - google.golang.org/grpc v1.27.0 + google.golang.org/grpc v1.32.0 google.golang.org/protobuf v1.26.0 // indirect ) diff --git a/proto/Makefile b/proto/Makefile index 2af601d5..2d4c3d6d 100644 --- a/proto/Makefile +++ b/proto/Makefile @@ -1,7 +1,7 @@ all: ../daemon/ui/protocol/ui.pb.go ../ui/opensnitch/ui_pb2.py ../daemon/ui/protocol/ui.pb.go: ui.proto - protoc -I. ui.proto --go_out=plugins=grpc:../daemon/ui/protocol/ --go_opt=paths=source_relative + protoc -I. ui.proto --go_out=../daemon/ui/protocol/ --go-grpc_out=../daemon/ui/protocol/ --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative ../ui/opensnitch/ui_pb2.py: ui.proto python3 -m grpc_tools.protoc -I. --python_out=../ui/opensnitch/ --grpc_python_out=../ui/opensnitch/ ui.proto