diff --git a/src/bgp/path_attributes.rs b/src/bgp/path_attributes.rs index f1520ea..08ea77f 100644 --- a/src/bgp/path_attributes.rs +++ b/src/bgp/path_attributes.rs @@ -385,6 +385,7 @@ macro_rules! path_attributes { #[derive(Clone, Debug, Eq, Hash, PartialEq)] #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] #[cfg_attr(feature = "serde", derive(serde::Serialize))] + #[cfg_attr(feature = "serde", serde(rename_all = "camelCase"))] pub enum PathAttribute { $( $name($data) ),+, Unimplemented(UnimplementedPathAttribute),