sticky situation

Is it bad that I sometimes like attention from other guys that aren't my boyfriend? I'm a committed person but my boyfriend goes to school 3 hours away from me and sometimes I just think about other guys and I like how they would flirt with me. I've never done anything sexual with any one other than my bf. or flirted back with the guys but I like thinking about them... idk what to do