aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ip/snoopy/gre.c
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
commit02d7aa8915f9c3a3288dab01f321eb94ba219e3b (patch)
treef053238978479e408a2b83571443e132f30586ab /src/cmd/ip/snoopy/gre.c
parentc0c9d8f883dfd3a7f5a74499d91bb95884b15873 (diff)
parent3d1382b98a502d0c34d5ba2c462396acc515016e (diff)
downloadplan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.gz
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.bz2
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/cmd/ip/snoopy/gre.c')
-rw-r--r--[-rwxr-xr-x]src/cmd/ip/snoopy/gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/ip/snoopy/gre.c b/src/cmd/ip/snoopy/gre.c
index 6808293b..2e744940 100755..100644
--- a/src/cmd/ip/snoopy/gre.c
+++ b/src/cmd/ip/snoopy/gre.c
@@ -36,7 +36,7 @@ sprintgre(void *a, char *buf, int len)
uchar *p = a;
chksum = offset = key = seq = ack = 0;
-
+
flag = NetS(p);
prot = NetS(p+2);
p += 4; len -= 4;
@@ -78,6 +78,6 @@ sprintgre(void *a, char *buf, int len)
n += sprintppp(p, buf+n, len);
else
n += sprintx(p, buf+n, len);
-
+
return n;
}