| skipped 41 lines |
42 | 42 | | Type: C.TypeMixed, |
43 | 43 | | MixedOptions: option.HTTPMixedInboundOptions{ |
44 | 44 | | ListenOptions: option.ListenOptions{ |
45 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 45 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
46 | 46 | | ListenPort: clientPort, |
47 | 47 | | }, |
48 | 48 | | }, |
| skipped 62 lines |
111 | 111 | | Type: C.TypeMixed, |
112 | 112 | | MixedOptions: option.HTTPMixedInboundOptions{ |
113 | 113 | | ListenOptions: option.ListenOptions{ |
114 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 114 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
115 | 115 | | ListenPort: clientPort, |
116 | 116 | | }, |
117 | 117 | | }, |
| skipped 3 lines |
121 | 121 | | Tag: "trojan", |
122 | 122 | | TrojanOptions: option.TrojanInboundOptions{ |
123 | 123 | | ListenOptions: option.ListenOptions{ |
124 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 124 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
125 | 125 | | ListenPort: otherPort, |
126 | 126 | | }, |
127 | 127 | | Users: []option.TrojanUser{ |
| skipped 91 lines |
219 | 219 | | Tag: "mixed-in", |
220 | 220 | | MixedOptions: option.HTTPMixedInboundOptions{ |
221 | 221 | | ListenOptions: option.ListenOptions{ |
222 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 222 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
223 | 223 | | ListenPort: clientPort, |
224 | 224 | | }, |
225 | 225 | | }, |
| skipped 2 lines |
228 | 228 | | Type: C.TypeVLESS, |
229 | 229 | | VLESSOptions: option.VLESSInboundOptions{ |
230 | 230 | | ListenOptions: option.ListenOptions{ |
231 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 231 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
232 | 232 | | ListenPort: serverPort, |
233 | 233 | | }, |
234 | 234 | | Users: []option.VLESSUser{ |
| skipped 59 lines |
294 | 294 | | Tag: "mixed-in", |
295 | 295 | | MixedOptions: option.HTTPMixedInboundOptions{ |
296 | 296 | | ListenOptions: option.ListenOptions{ |
297 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 297 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
298 | 298 | | ListenPort: clientPort, |
299 | 299 | | }, |
300 | 300 | | }, |
| skipped 2 lines |
303 | 303 | | Type: C.TypeVLESS, |
304 | 304 | | VLESSOptions: option.VLESSInboundOptions{ |
305 | 305 | | ListenOptions: option.ListenOptions{ |
306 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 306 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
307 | 307 | | ListenPort: serverPort, |
308 | 308 | | }, |
309 | 309 | | Users: []option.VLESSUser{ |
| skipped 16 lines |
326 | 326 | | Tag: "trojan", |
327 | 327 | | TrojanOptions: option.TrojanInboundOptions{ |
328 | 328 | | ListenOptions: option.ListenOptions{ |
329 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 329 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
330 | 330 | | ListenPort: otherPort, |
331 | 331 | | }, |
332 | 332 | | Users: []option.TrojanUser{ |
| skipped 81 lines |
414 | 414 | | Type: C.TypeVLESS, |
415 | 415 | | VLESSOptions: option.VLESSInboundOptions{ |
416 | 416 | | ListenOptions: option.ListenOptions{ |
417 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 417 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
418 | 418 | | ListenPort: serverPort, |
419 | 419 | | }, |
420 | 420 | | Users: []option.VLESSUser{ |
| skipped 16 lines |
437 | 437 | | Tag: "trojan", |
438 | 438 | | TrojanOptions: option.TrojanInboundOptions{ |
439 | 439 | | ListenOptions: option.ListenOptions{ |
440 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 440 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
441 | 441 | | ListenPort: otherPort, |
442 | 442 | | }, |
443 | 443 | | Users: []option.TrojanUser{ |
| skipped 20 lines |
464 | 464 | | Tag: "mixed-in", |
465 | 465 | | MixedOptions: option.HTTPMixedInboundOptions{ |
466 | 466 | | ListenOptions: option.ListenOptions{ |
467 | | - | Listen: option.ListenAddress(netip.IPv4Unspecified()), |
| 467 | + | Listen: option.NewListenAddress(netip.IPv4Unspecified()), |
468 | 468 | | ListenPort: otherClientPort, |
469 | 469 | | }, |
470 | 470 | | }, |
| skipped 66 lines |