Skip to content

protoc generated file breaks code #2886

Closed
@usama6naseer

Description

@usama6naseer

I am working on adding color-only steering to GoBGP ColorExtended (Flag field). I plan to make a pull request to merge with upstream, once done.

However, when I try to generate attribute.pb.go, using /tools/grpc/genproto.sh, the generated file is way different than original one (added below). I have also added env info below.

I even tried re-generating from the vanilla attribute.go (i.e., without any modifications) and the output is much different from the ground-truth attribute.pb.go.

`
[gobgp-3.24.0]$ protoc --version

libprotoc 3.19.1

[gobgp-3.24.0]$ go version

go version go1.21.1 linux/amd64

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions