From cc96b0ee33086605548c81a89051e78bfacaa44a Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sat, 28 Mar 2015 10:25:12 -0700 Subject: [PATCH] GUAC-1138: Use "ones" instead of "1's". --- guacamole/src/main/webapp/app/list/types/IPv6Network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guacamole/src/main/webapp/app/list/types/IPv6Network.js b/guacamole/src/main/webapp/app/list/types/IPv6Network.js index 5d7ad9515..e2b40042b 100644 --- a/guacamole/src/main/webapp/app/list/types/IPv6Network.js +++ b/guacamole/src/main/webapp/app/list/types/IPv6Network.js @@ -113,13 +113,13 @@ angular.module('list').factory('IPv6Network', [ // Only generate up to 128 bits bits = Math.min(128, bits); - // Add any contiguous 16-bit sections of 1's + // Add any contiguous 16-bit sections of ones while (bits >= 16) { netmask.push(0xFFFF); bits -= 16; } - // Add remaining 1's + // Add remaining ones if (bits > 0 && bits <= 16) netmask.push(0xFFFF & (0xFFFF << (16 - bits)));