-/* $OpenBSD: util.c,v 1.72 2022/11/07 11:33:24 mbuhl Exp $ */
+/* $OpenBSD: util.c,v 1.73 2022/11/09 14:23:53 claudio Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
snprintf(buf, sizeof(buf), "rd %s:%hu", inet_ntoa(addr), u16);
break;
default:
- return ("rd ?");
+ snprintf(buf, sizeof(buf), "rd #%016llx",
+ (unsigned long long)rd);
+ break;
}
return (buf);
}
return (-1);
if (withdraw) {
/* on withdraw ignore the labelstack all together */
+ p += 3;
plen += 3;
pfxlen -= 3 * 8;
break;
return (-1);
if (withdraw) {
/* on withdraw ignore the labelstack all together */
+ p += 3;
plen += 3;
pfxlen -= 3 * 8;
break;