Revision c4d3fd11

View differences:

src/Tests/chunkiser_test.c
32 32
{
33 33
  int o;
34 34

  
35
  while ((o = getopt(argc, argv, "f:rRdlavV")) != -1) {
35
  while ((o = getopt(argc, argv, "u:f:rRdlavVU")) != -1) {
36 36
    switch(o) {
37
      case 'u':
38
        in_ptr = addopt(in_opts, in_ptr, "chunkiser", "udp");
39
        in_ptr = addopt(in_opts, in_ptr, "port1", optarg);
40
        break;
37 41
      case 'f':
38 42
        out_ptr = addopt(out_opts, out_ptr, "format", optarg);
39 43
        break;
......
44 48
        out_ptr = addopt(out_opts, out_ptr, "dechunkiser", "raw");
45 49
        out_ptr = addopt(out_opts, out_ptr, "payload", "avf");
46 50
        break;
51
      case 'U':
52
        out_ptr = addopt(out_opts, out_ptr, "dechunkiser", "raw");
53
        out_ptr = addopt(out_opts, out_ptr, "payload", "udp");
54
        break;
47 55
      case 'd':
48 56
        in_ptr = addopt(in_opts, in_ptr, "chunkiser", "dummy");
49 57
        break;

Also available in: Unified diff