Skip to content

Commit 13d1aa6

Browse files
committed
ipn/warp: client-id in wg conf
1 parent 8a08762 commit 13d1aa6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

intra/ipn/warp/id.go

+2
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ func (id *Identity) genWgConf() {
163163
}
164164
id.WgConf = fmt.Sprintf(`[Interface]
165165
PublicKey = %s
166+
ClientID = %s
166167
Address = %s
167168
Address = %s
168169
DNS = %s
@@ -175,6 +176,7 @@ Endpoint = %s
175176
AllowedIPs = %s
176177
AllowedIPs = %s`,
177178
id.Key,
179+
id.Config.ClientID,
178180
id.Config.Interface.Addresses.V4,
179181
id.Config.Interface.Addresses.V6,
180182
// developers.cloudflare.com/1.1.1.1/ip-addresses/

0 commit comments

Comments
 (0)