Added useful comments to outline create_subnet function
This commit is contained in:
		@@ -62,6 +62,9 @@ impl Network {
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        //Get first address of each network
 | 
			
		||||
        //Need to get the most significant octet
 | 
			
		||||
        //Get number of bits available for host in specific octet
 | 
			
		||||
        //Determine Spacing 
 | 
			
		||||
        //Use Class constructor to generate each network.
 | 
			
		||||
        Ok(vec![Network::new(&IpAddr::V4(0, 0, 0, 0), &IpAddr::V4(0, 0, 0, 0))])
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user