Skip to content

BGP UPDATE parsing fails when BGP_ADD_PATH is receive but not negotiated #2840

@usama6naseer

Description

@usama6naseer

Code here (

func IsAddPathEnabled(decode bool, f RouteFamily, options []*MarshallingOption) bool {
) only checks for BGP_ADD_PATH_RECEIVE. We get "network bytes is short" error. Is there a specific reason only BGP_ADD_PATH_RECEIVE is enough for making the decision that the UPDATE has adpath?

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