Subversion Repositories ALCASAR

Rev

Rev 674 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 674 Rev 768
Line 97... Line 97...
97
								{
97
								{
98
								foreach ($tab as $line)
98
								foreach ($tab as $line)
99
									{
99
									{
100
									$field=explode("#", $line);
100
									$field=explode("#", $line);
101
									$mac_addr=trim($field[0],"macallowed=");
101
									$mac_addr=trim($field[0],"macallowed=");
102
									if (trim($detail[0]) == trim($mac_addr))
102
									if (strcasecmp (trim($detail[0]), trim($mac_addr)) == 0)
103
										{
103
										{
104
										echo " ( $field[1])";
104
										echo " ( $field[1])";
105
										break;	
105
										break;	
106
										}
106
										}
107
									}
107
									}