nvpn 4.1.13

CLI and daemon for Nostr VPN private mesh networks
1
2
3
4
5
6
7
8
9
    #[cfg(any(target_os = "linux", target_os = "macos"))]
    #[test]
    fn tun_pipeline_packet_caches_destination_for_send_route() {
        let source = Ipv4Addr::new(10, 44, 10, 1);
        let destination = Ipv4Addr::new(10, 44, 22, 44);
        let packet = TunPipelinePacket::new(ipv4_packet(source, destination));

        assert_eq!(packet.destination, Some(IpAddr::V4(destination)));
    }