26 lines
966 B
Text
26 lines
966 B
Text
$NetBSD: patch-ah,v 1.1 2000/12/28 01:59:26 wiz Exp $
|
|
|
|
--- ppp/ip.c.orig Tue Nov 7 06:45:44 2000
|
|
+++ ppp/ip.c
|
|
@@ -656,8 +656,8 @@
|
|
"ESP: %s ---> ", inet_ntoa(pip->ip_src));
|
|
loglen += strlen(logbuf + loglen);
|
|
snprintf(logbuf + loglen, sizeof logbuf - loglen,
|
|
- "%s, spi %08x", inet_ntoa(pip->ip_dst),
|
|
- (u_int32_t) ptop);
|
|
+ "%s, spi %p", inet_ntoa(pip->ip_dst),
|
|
+ ptop);
|
|
loglen += strlen(logbuf + loglen);
|
|
}
|
|
break;
|
|
@@ -668,8 +668,8 @@
|
|
"AH: %s ---> ", inet_ntoa(pip->ip_src));
|
|
loglen += strlen(logbuf + loglen);
|
|
snprintf(logbuf + loglen, sizeof logbuf - loglen,
|
|
- "%s, spi %08x", inet_ntoa(pip->ip_dst),
|
|
- (u_int32_t) (ptop + sizeof(u_int32_t)));
|
|
+ "%s, spi %p", inet_ntoa(pip->ip_dst),
|
|
+ (ptop + sizeof(u_int32_t)));
|
|
loglen += strlen(logbuf + loglen);
|
|
}
|
|
break;
|