s3:lib: s/SMBkeepalive/NBSSkeepalive
[sfrench/samba-autobuild/.git] / source3 / lib / util_sock.c
index da84d76aa6a17108879b0c16abaf6fd9305e2e71..ebdd2c78f3de696e0a794ec8f1aa320b2593e914 100644 (file)
@@ -300,7 +300,7 @@ bool send_keepalive(int client)
 {
        unsigned char buf[4];
 
-       buf[0] = SMBkeepalive;
+       buf[0] = NBSSkeepalive;
        buf[1] = buf[2] = buf[3] = 0;
 
        return(write_data(client,(char *)buf,4) == 4);
@@ -330,7 +330,7 @@ NTSTATUS read_smb_length_return_keepalive(int fd, char *inbuf,
        *len = smb_len(inbuf);
        msg_type = CVAL(inbuf,0);
 
-       if (msg_type == SMBkeepalive) {
+       if (msg_type == NBSSkeepalive) {
                DEBUG(5,("Got keepalive packet\n"));
        }