From: Peter H. R. <ass...@in...> - 2012-08-27 19:53:31
|
Am 27.08.2012 21:31, schrieb Fritz Borgstedt: > IPv6 addresses are defined like [FE80:1:0:0:0:0:0:1]:25 or [FE80:1::1] > :25 Ok, that does seem to do the trick: 127.0.0.1|[2001:1620:f59:1::/64]|[2001:1620:f00:a5::2/128] stops it from crashing. Makes me wonder, why it used to work without the brackets (never checked whether it actually worked, as in did what was advertized, tbh), but I'm happy either way. Thanks! -- Peter H. Ruegg --8<------------------------------------------------------------------------- main(){char*s="O_>>^PQAHBbPQAHBbPOOH^^PAAHBJPAAHBbPA_H>BB";int i,j,k,l,m,n; for(j=0;j<7;j++)for(l=0;m=l-6+j,i=m/6,n=j*6+i,k=1<<m%6,l<41-j;l++) putchar(l<6-j?' ':l==40-j?'\n':k&&s[n]&k?'*':' ');} |