diff --git a/xmpp-parsers/doap.xml b/xmpp-parsers/doap.xml
index f578ca15160ae0b964cb35b104cd6bed9f8dd587..72252f03796983639173d2ecda461fe7dce973a6 100644
--- a/xmpp-parsers/doap.xml
+++ b/xmpp-parsers/doap.xml
@@ -236,7 +236,7 @@
complete
- 1.0
+ 1.1
0.13.0
diff --git a/xmpp-parsers/src/jingle_ice_udp.rs b/xmpp-parsers/src/jingle_ice_udp.rs
index d178e20f0319910fc4612af08b1db699d0dca20a..6fb0e26e6a96f718b5dc47e88785ecd75f649f55 100644
--- a/xmpp-parsers/src/jingle_ice_udp.rs
+++ b/xmpp-parsers/src/jingle_ice_udp.rs
@@ -75,7 +75,7 @@ generate_element!(
component: Required = "component",
/// A Foundation as defined in ICE-CORE.
- foundation: Required = "foundation",
+ foundation: Required = "foundation",
/// An index, starting at 0, that enables the parties to keep track of updates to the
/// candidate throughout the life of the session.
@@ -88,10 +88,6 @@ generate_element!(
/// either an IPv4 address or an IPv6 address.
ip: Required = "ip",
- /// An index, starting at 0, referencing which network this candidate is on for a given
- /// peer.
- network: Required = "network",
-
/// The port at the candidate IP address.
port: Required = "port",
@@ -107,6 +103,10 @@ generate_element!(
/// A related port as defined in ICE-CORE.
rel_port: Option = "rel-port",
+ /// An index, starting at 0, referencing which network this candidate is on for a given
+ /// peer.
+ network: Option = "network",
+
/// A Candidate Type as defined in ICE-CORE.
type_: Required = "type",
]
@@ -125,7 +125,7 @@ mod tests {
fn test_size() {
assert_size!(Transport, 68);
assert_size!(Type, 1);
- assert_size!(Candidate, 80);
+ assert_size!(Candidate, 92);
}
#[cfg(target_pointer_width = "64")]
@@ -133,7 +133,7 @@ mod tests {
fn test_size() {
assert_size!(Transport, 136);
assert_size!(Type, 1);
- assert_size!(Candidate, 104);
+ assert_size!(Candidate, 128);
}
#[test]