Commit 88d4dd1d authored by Robert David Graham's avatar Robert David Graham
Browse files

IP nul ranges

parent e70b6db7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -649,6 +649,7 @@ tcpcon_send_packet(
        printf("=======\n");
        tcp_set_window(response->px, response->length, 1);
    }
    tcp_set_window(response->px, response->length, 1);

    /* If we have payload, then:
     * 1. remember the payload so we can resend it
+2 −0
Original line number Diff line number Diff line
@@ -293,6 +293,8 @@ range_parse_ipv4(const char *line, unsigned *inout_offset, unsigned max)
    static const struct Range badrange = {0xFFFFFFFF, 0};
    int err;

    if (line == NULL)
        return badrange;

    if (inout_offset == NULL) {
         inout_offset = &offset;