File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 861861 <KEY />
862862 <UNSIGNED />
863863 </field >
864- <field name =" network_role_id" type =" I" size =" 10" >
865- <NOTNULL />
866- <UNSIGNED />
867- </field >
868864 <field name =" subnet_type_id" type =" I" size =" 10" >
869865 <NOTNULL />
870866 <UNSIGNED />
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ function subnet_display($options="") {
3535 $ text_array = array ();
3636
3737 // Version - UPDATE on every edit!
38- $ version = '1.03 ' ;
38+ $ version = '1.04 ' ;
3939
4040 // Parse incoming options string to an array
4141 $ options = parse_options ($ options );
@@ -121,7 +121,6 @@ function subnet_display($options="") {
121121 }
122122
123123 // cleanup some un-used junk
124- unset($ text_array ['network_role_id ' ]);
125124 unset($ text_array ['vlan_id ' ]);
126125
127126 // change the output format if other than default
@@ -169,7 +168,7 @@ function subnet_add($options="") {
169168 printmsg ('DEBUG => subnet_add( ' .$ options .') called ' , 3 );
170169
171170 // Version - UPDATE on every edit!
172- $ version = '1.07 ' ;
171+ $ version = '1.08 ' ;
173172
174173 // Parse incoming options string to an array
175174 $ options = parse_options ($ options );
@@ -214,10 +213,6 @@ function subnet_add($options="") {
214213 // Set vlan_id to 0 initially
215214 $ SET ['vlan_id ' ] = 0 ;
216215
217- // TODO: remove this column from db
218- $ SET ['network_role_id ' ] = 0 ;
219-
220-
221216 // Prepare options[ip] - translate IP address to a number
222217 $ options ['ip ' ] = $ ourip = ip_mangle ($ options ['ip ' ], 'numeric ' );
223218 if ($ ourip == -1 ) {
You can’t perform that action at this time.
0 commit comments