View | Details | Raw Unified
Collapse All | Expand All

(-) src/include/gnunet_util.h (-1 / +1 lines)
 Lines 1067-1073    Link Here 
 * @param routeList a string specifying the forbidden networks
 * @param routeList a string specifying the forbidden networks
 * @return the converted list, NULL if the synatx is flawed
 * @return the converted list, NULL if the synatx is flawed
 */
 */
CIDR6Network * parseRoutes6(const char * routeList);
CIDR6Network * parseRoutes6(char * routeList);
(-) src/transports/tcp6.c (+1 lines)
 Lines 825-830    Link Here 
  }
  }
  ok = SYSERR;
  ok = SYSERR;
  MUTEX_LOCK(&tcp6lock);
  MUTEX_LOCK(&tcp6lock);
  int sucess;
  if (tcp6Session->wpos > 0) {
  if (tcp6Session->wpos > 0) {
    ret = 0;
    ret = 0;
  } else {
  } else {
(-) src/transports/udp6.c (+1 lines)
 Lines 275-280    Link Here 
#endif
#endif
    /* quick test of the packet, if failed, repeat! */
    /* quick test of the packet, if failed, repeat! */
    if (size != ntohs(udp6m.size)) {
    if (size != ntohs(udp6m.size)) {
	  char * tmp = MALLOC(INET6_ADDRSTRLEN);
      LOG(LOG_WARNING,
      LOG(LOG_WARNING,
	  _("Packed received from %s:%d (UDP6) failed format check."),
	  _("Packed received from %s:%d (UDP6) failed format check."),
	  inet_ntop(AF_INET6,
	  inet_ntop(AF_INET6,
(-) src/util/ipcheck.c (-2 / +2 lines)
 Lines 281-288    Link Here 
 * @param ip the IP to check (in network byte order)
 * @param ip the IP to check (in network byte order)
 * @return NO if the IP is not in the list, YES if it it is
 * @return NO if the IP is not in the list, YES if it it is
 */
 */
int checkIP6Listed(CIDR6Network * list,
int checkIP6Listed(const CIDR6Network * list,
		   IP6addr * ip) {
		   const IP6addr * ip) {
  unsigned int i;
  unsigned int i;
  unsigned int j;
  unsigned int j;
  struct in6_addr zero;
  struct in6_addr zero;