File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ impl VntCallback for VntHandler {
10
10
fn success ( & self ) {
11
11
println ! ( " {} " , style( "====== Connect Successfully ======" ) . green( ) )
12
12
}
13
- #[ cfg( feature = "vnt-model " ) ]
13
+ #[ cfg( feature = "integrated_tun " ) ]
14
14
fn create_tun ( & self , info : vnt:: DeviceInfo ) {
15
15
println ! ( "create_tun {}" , info)
16
16
}
Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ fn main() {
12
12
}
13
13
}
14
14
Err ( e) => {
15
+ log:: error!(
16
+ "parse error={:?} cmd={:?}" ,
17
+ e,
18
+ std:: env:: args( ) . collect:: <Vec <String >>( )
19
+ ) ;
15
20
println ! ( "{}" , e) ;
16
21
return ;
17
22
}
Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ fn main() {
11
11
}
12
12
}
13
13
Err ( e) => {
14
+ log:: error!(
15
+ "parse error={:?} cmd={:?}" ,
16
+ e,
17
+ std:: env:: args( ) . collect:: <Vec <String >>( )
18
+ ) ;
14
19
println ! ( "{}" , e) ;
15
20
return ;
16
21
}
You can’t perform that action at this time.
0 commit comments