Subversion Repositories HelenOS

Rev

Rev 4732 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4732 Rev 4743
Line 233... Line 233...
233
    if( ERROR_OCCURRED( inet_pton( family, argv[ argc - 1 ], address_start ))){
233
    if( ERROR_OCCURRED( inet_pton( family, argv[ argc - 1 ], address_start ))){
234
        fprintf( stderr, "Address parse error %d\n", ERROR_CODE );
234
        fprintf( stderr, "Address parse error %d\n", ERROR_CODE );
235
        return ERROR_CODE;
235
        return ERROR_CODE;
236
    }
236
    }
237
 
237
 
238
    // TODO timeout?
-
 
239
    icmp_phone = icmp_connect_module( SERVICE_ICMP );
238
    icmp_phone = icmp_connect_module( SERVICE_ICMP );
240
    if( icmp_phone < 0 ){
239
    if( icmp_phone < 0 ){
241
        fprintf( stderr, "ICMP connect error %d\n", icmp_phone );
240
        fprintf( stderr, "ICMP connect error %d\n", icmp_phone );
242
    }
241
    }
243
 
242