NLRIEncoding::IP_MPLS_WITH_PATH_ID(_) => (),
NLRIEncoding::IP_VPN_MPLS(_) => (),
NLRIEncoding::L2VPN(_) => (),
- NLRIEncoding::FLOWSPEC(_) => (),
};
}
NLRIEncoding::IP_MPLS_WITH_PATH_ID(_) => (),
NLRIEncoding::IP_VPN_MPLS(_) => (),
NLRIEncoding::L2VPN(_) => (),
- NLRIEncoding::FLOWSPEC(_) => (),
};
}
}
match reader.read() {
Ok((_header, msg)) => {
decoder.buf.advance(decoder.pos);
+ if let Message::Open(ref o) = &msg {
+ self.0 = Some(Capabilities::from_parameters(o.parameters.clone()));
+ }
Ok(Some(msg))
},
Err(e) => match e.kind() {