Lines 1153-1158
Link Here
|
1153 |
/* skip [0-9a-fA-F.:]*, i.e. IP4 and IP6 address */ |
1153 |
/* skip [0-9a-fA-F.:]*, i.e. IP4 and IP6 address */ |
1154 |
while(isxdigit((unsigned char)*parse) || *parse=='.' || *parse==':') |
1154 |
while(isxdigit((unsigned char)*parse) || *parse=='.' || *parse==':') |
1155 |
parse++; |
1155 |
parse++; |
|
|
1156 |
/* Check for % if found accept rest */ |
1157 |
if (*parse == '%') { |
1158 |
parse++; |
1159 |
while (isalnum((unsigned char)*parse)) |
1160 |
parse++; |
1161 |
} |
1156 |
/* terminate after the address, remove newline */ |
1162 |
/* terminate after the address, remove newline */ |
1157 |
*parse = 0; |
1163 |
*parse = 0; |