Skip to content

Commit

Permalink
Fix master request test
Browse files Browse the repository at this point in the history
  • Loading branch information
alterphp committed Sep 2, 2014
1 parent a786630 commit 727276b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventListener/IpTraceListener.php
Expand Up @@ -33,7 +33,7 @@ public function __construct(IpTraceableListener $ipTraceableListener)
*/
public function onKernelRequest(GetResponseEvent $event)
{
if (HttpKernelInterface::MASTER_REQUEST !== $event->getRequestType()) {
if (HttpKernelInterface::MASTER_REQUEST === $event->getRequestType()) {
$ip = $event->getRequest()->getClientIp();

if (null !== $ip) {
Expand Down

0 comments on commit 727276b

Please sign in to comment.