Skip to content

Commit 2991cbb

Browse files
authored
feat: Use our own ALPN (#155)
1 parent d64d12d commit 2991cbb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tls.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ use ssh_key::LineEnding;
1919

2020
use crate::util;
2121

22-
// TODO: change?
23-
const P2P_ALPN: [u8; 6] = *b"libp2p";
22+
const P2P_ALPN: [u8; 9] = *b"n0/iroh/1";
2423

2524
/// A keypair.
2625
#[derive(Debug)]

0 commit comments

Comments
 (0)