diff options
Diffstat (limited to 'fs/ceph/messenger.c')
-rw-r--r-- | fs/ceph/messenger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/messenger.c b/fs/ceph/messenger.c index 81bc779adb9..e4e8d4439d3 100644 --- a/fs/ceph/messenger.c +++ b/fs/ceph/messenger.c | |||
@@ -1909,6 +1909,7 @@ struct ceph_messenger *ceph_messenger_create(struct ceph_entity_addr *myaddr) | |||
1909 | msgr->inst.addr = *myaddr; | 1909 | msgr->inst.addr = *myaddr; |
1910 | 1910 | ||
1911 | /* select a random nonce */ | 1911 | /* select a random nonce */ |
1912 | msgr->inst.addr.type = 0; | ||
1912 | get_random_bytes(&msgr->inst.addr.nonce, sizeof(msgr->inst.addr.nonce)); | 1913 | get_random_bytes(&msgr->inst.addr.nonce, sizeof(msgr->inst.addr.nonce)); |
1913 | encode_my_addr(msgr); | 1914 | encode_my_addr(msgr); |
1914 | 1915 | ||