chiark / gitweb /
server: remove redundant source field
[hippotat.git] / server / server.rs
index 3e85105c87d39c89c1c1664a7a52568de1f19175..2726d09fccd69e1ce6b85febd047135ed4c57965 100644 (file)
@@ -32,7 +32,7 @@ pub struct Global {
 
 pub struct RoutedPacket {
   pub data: RoutedPacketData,
-  pub source: Option<ClientName>, // for eh, tracing, etc.
+//  pub source: Option<ClientName>, // for eh, tracing, etc.
 }
 
 // not MIME data, valid SLIP (checked)
@@ -87,7 +87,7 @@ pub async fn route_packet(global: &Global,
 
   let packet = RoutedPacket {
     data: packet,
-    source: source.cloned(),
+//    source: source.cloned(),
   };
   match dest.send(packet).await {
     Ok(()) => trace("forward", why),