Revision 176b8de8 src/Chunkiser/output-stream-udp.c

View differences:

src/Chunkiser/output-stream-udp.c
19 19

  
20 20
#include "int_coding.h"
21 21
#include "payload.h"
22
#include "config.h"
22
#include "grapes_config.h"
23 23
#include "dechunkiser_iface.h"
24 24

  
25 25
#define UDP_PORTS_NUM_MAX 10
......
50 50
  struct tag *cfg_tags;
51 51

  
52 52
  sprintf(ip, "127.0.0.1");
53
  cfg_tags = config_parse(config);
53
  cfg_tags = grapes_config_parse(config);
54 54
  if (cfg_tags) {
55 55
    int j;
56 56
    const char *addr;
57 57

  
58
    addr = config_value_str(cfg_tags, "addr");
58
    addr = grapes_config_value_str(cfg_tags, "addr");
59 59
    if (addr) {
60 60
      sprintf(ip, "%s", addr);
61 61
    }
......
63 63
      char tag[8];
64 64

  
65 65
      sprintf(tag, "port%d", j);
66
      if (config_value_int(cfg_tags, tag, &ports[i])) {
66
      if (grapes_config_value_int(cfg_tags, tag, &ports[i])) {
67 67
        i++;
68 68
      }
69 69
    }

Also available in: Unified diff