We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b30c5 commit 571651dCopy full SHA for 571651d
lispd_tuntap/lispd.c
@@ -203,7 +203,7 @@ int get_process_lock(int pid)
203
fl.l_start = 0;
204
fl.l_len = 1;
205
206
- if ((fdlock = open(LISPD_LOCKFILE, O_WRONLY|O_CREAT|O_EXCL, 0666)) == -1) {
+ if ((fdlock = open(LISPD_LOCKFILE, O_RDWR|O_CREAT, 0666)) == -1) {
207
return FALSE;
208
}
209
lispd_tuntap/lispd_tuntap.c
@@ -141,7 +141,6 @@ void tuntap_process_output_packet(void)
141
142
nread = read(tun_receive_fd, tun_receive_buf, TunReceiveSize);
143
144
- log_msg(INFO, "Output packet first byte: 0x%x", tun_receive_buf[0]);
145
ipversion = (tun_receive_buf[0] & 0xf0) >> 4;
146
switch (ipversion) {
147
0 commit comments